##// END OF EJS Templates
backout command: better help.
Vadim Gelfer -
r2254:827fcfe8 default
parent child Browse files
Show More
@@ -756,13 +756,20 b' def archive(ui, repo, dest, **opts):'
756 756 def backout(ui, repo, rev, **opts):
757 757 '''reverse effect of earlier changeset
758 758
759 Commit the backed out changes as a new changeset.
759 Commit the backed out changes as a new changeset. The new
760 changeset is a child of the backed out changeset.
760 761
761 762 If you back out a changeset other than the tip, a new head is
762 created. The --merge option remembers the parent of the working
763 directory before starting the backout, then merges the new head
764 with it afterwards, to save you from doing this by hand. The
765 result of this merge is not committed, as for a normal merge.'''
763 created. This head is the parent of the working directory. If
764 you back out an old changeset, your working directory will appear
765 old after the backout. You should merge the backout changeset
766 with another head.
767
768 The --merge option remembers the parent of the working directory
769 before starting the backout, then merges the new head with that
770 changeset afterwards. This saves you from doing the merge by
771 hand. The result of this merge is not committed, as for a normal
772 merge.'''
766 773
767 774 bail_if_changed(repo)
768 775 op1, op2 = repo.dirstate.parents()
General Comments 0
You need to be logged in to leave comments. Login now