Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 7977:1cd3775e097c
commands: better merge help text
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sat, 04 Apr 2009 17:33:42 +0200 |
parents | a62fc8fe882f |
children | 6b04f12d2831 |
comparison
equal
deleted
inserted
replaced
7976:a62fc8fe882f | 7977:1cd3775e097c |
---|---|
2001 ui.write("%s\n" % f) | 2001 ui.write("%s\n" % f) |
2002 | 2002 |
2003 def merge(ui, repo, node=None, force=None, rev=None): | 2003 def merge(ui, repo, node=None, force=None, rev=None): |
2004 """merge working directory with another revision | 2004 """merge working directory with another revision |
2005 | 2005 |
2006 Merge the contents of the current working directory and the | 2006 The contents of the current working directory is updated with all |
2007 requested revision. Files that changed between either parent are | 2007 changes made in the requested revision since the last common |
2008 marked as changed for the next commit and a commit must be | 2008 predecessor revision. |
2009 performed before any further updates are allowed. | 2009 |
2010 Files that changed between either parent are marked as changed for | |
2011 the next commit and a commit must be performed before any further | |
2012 updates are allowed. The next commit has two parents. | |
2010 | 2013 |
2011 If no revision is specified, the working directory's parent is a | 2014 If no revision is specified, the working directory's parent is a |
2012 head revision, and the current branch contains exactly one other head, | 2015 head revision, and the current branch contains exactly one other head, |
2013 the other head is merged with by default. Otherwise, an explicit | 2016 the other head is merged with by default. Otherwise, an explicit |
2014 revision to merge with must be provided. | 2017 revision to merge with must be provided. |