[Python-checkins] devguide (hg_transition): Add FAQ entries about heads and merging

antoine.pitrou python-checkins at python.org
Wed Mar 2 16:14:29 CET 2011


http://hg.python.org/devguide/rev/56874ea2f808
changeset:   362:56874ea2f808
branch:      hg_transition
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Wed Mar 02 16:14:27 2011 +0100
summary:
  Add FAQ entries about heads and merging

files:
  faq.rst

diff --git a/faq.rst b/faq.rst
--- a/faq.rst
+++ b/faq.rst
@@ -420,6 +420,43 @@
 to match up with the repository.
 
 
+How do I find out which revisions need merging?
+-----------------------------------------------
+
+Running::
+
+   hg heads
+
+Gives you the list of branch heads in your local repository.  If you are
+working only in a particular named branch, for example ``default``, do::
+
+   hg heads default
+
+to display the heads on that branch.
+
+
+How do I list the files in conflict after a merge?
+--------------------------------------------------
+
+Use::
+
+   hg resolve --list
+
+(abbreviated ``hg resolve -l``)
+
+
+How I mark a file resolved after I have resolved merge conflicts?
+-----------------------------------------------------------------
+
+Type::
+
+   hg resolve --mark <file path>
+
+(abbreviated ``hg resolve -m <file path>``)
+
+If you are sure you have resolved all conflicts, use ``hg resolve -am``.
+
+
 How do I find out who edited or what revision changed a line last?
 -------------------------------------------------------------------------------
 

-- 
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list