[Python-apps-commits] r6582 - in packages/mercurial/trunk/debian (3 files)

vicho-guest at users.alioth.debian.org vicho-guest at users.alioth.debian.org
Sat Feb 5 21:19:05 UTC 2011


    Date: Saturday, February 5, 2011 @ 21:19:04
  Author: vicho-guest
Revision: 6582

Add patch from_upstream__fix_611420.patch

The patch has been accepted upstream and fixes #611420.

Added:
  packages/mercurial/trunk/debian/patches/from_upstream__fix_611420.patch
Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/patches/series

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2011-02-05 21:18:43 UTC (rev 6581)
+++ packages/mercurial/trunk/debian/changelog	2011-02-05 21:19:04 UTC (rev 6582)
@@ -5,8 +5,10 @@
     included upstream
   * Add patch for_upstream__add_backquote_fname.patch , proposed
     upstream (Closes: #611419)
+  * Add patch from_upstream__fix_611420.patch which will be part of the
+    next mercurial release (Closes: #611420)
 
- -- Javi Merino <cibervicho at gmail.com>  Sat, 05 Feb 2011 20:58:01 +0000
+ -- Javi Merino <cibervicho at gmail.com>  Sat, 05 Feb 2011 21:05:19 +0000
 
 mercurial (1.7.3-1) experimental; urgency=low
 

Added: packages/mercurial/trunk/debian/patches/from_upstream__fix_611420.patch
===================================================================
--- packages/mercurial/trunk/debian/patches/from_upstream__fix_611420.patch	                        (rev 0)
+++ packages/mercurial/trunk/debian/patches/from_upstream__fix_611420.patch	2011-02-05 21:19:04 UTC (rev 6582)
@@ -0,0 +1,70 @@
+# HG changeset patch
+# User Jonathan Nieder <jrnieder at gmail.com>
+# Date 1296714464 21600
+# Node ID 02aa06a021a066cb360dc71097dedfa3ef123bb2
+# Parent  22167be007ed88baa00b2eeac62f84aac642190f
+backout: make help more explicit about what backout does
+
+The help for backout explains:
+
+   The backout command merges the reverse effect of the reverted
+   changeset into the working directory.
+
+Unfortunately, that does not make it obvious to a newcomer what the
+backout command does.  Since it performs a 3-way merge, what is the
+common ancestor?  Will the result be automatically committed?  What is
+this reverted changeset --- is it the rev passed with -r on the
+command line or its inverse?
+
+So try to clarify the description, avoiding jargon and being
+explicit about what happens from the user's perspective.
+
+Thanks to Gilles Moris, Steve Borho, Kevin Bullock, and timeless for
+help.
+
+diff --git a/mercurial/commands.py b/mercurial/commands.py
+--- a/mercurial/commands.py
++++ b/mercurial/commands.py
+@@ -204,26 +204,22 @@
+ def backout(ui, repo, node=None, rev=None, **opts):
+     '''reverse effect of earlier changeset
+ 
+-    The backout command merges the reverse effect of the reverted
+-    changeset into the working directory.
+-
+-    With the --merge option, it first commits the reverted changes
+-    as a new changeset. This new changeset is a child of the reverted
+-    changeset.
+-    The --merge option remembers the parent of the working directory
+-    before starting the backout, then merges the new head with that
+-    changeset afterwards.
+-    This will result in an explicit merge in the history.
+-
+-    If you backout a changeset other than the original parent of the
+-    working directory, the result of this merge is not committed,
+-    as with a normal merge. Otherwise, no merge is needed and the
+-    commit is automatic.
+-
+-    Note that the default behavior (without --merge) has changed in
+-    version 1.7. To restore the previous default behavior, use
+-    :hg:`backout --merge` and then :hg:`update --clean .` to get rid of
+-    the ongoing merge.
++    Prepare a new changeset with the effect of REV undone in the
++    current working directory.
++
++    If REV is the parent of the working directory, then this changeset
++    is committed automatically. Otherwise, hg needs to merge the
++    changes and the merged result is left uncommitted.
++
++    By default, the pending changeset will have one parent,
++    maintaining a linear history. With --merge, the pending changeset
++    will instead have two parents: the old parent of the working
++    directory and a child of REV that simply undoes REV.
++
++    Before version 1.7, the default behavior was equivalent to
++    specifying --merge followed by :hg:`update --clean .` to cancel
++    the merge and leave the child of REV as a head to be merged
++    separately.
+ 
+     See :hg:`help dates` for a list of formats valid for -d/--date.
+ 

Modified: packages/mercurial/trunk/debian/patches/series
===================================================================
--- packages/mercurial/trunk/debian/patches/series	2011-02-05 21:18:43 UTC (rev 6581)
+++ packages/mercurial/trunk/debian/patches/series	2011-02-05 21:19:04 UTC (rev 6582)
@@ -6,3 +6,4 @@
 proposed_upstream__correct-zeroconf-doc
 deb_specific__install-mo-fhs.patch
 for_upstream__add_backquote_fname.patch
+from_upstream__fix_611420.patch




More information about the Python-apps-commits mailing list