##// END OF EJS Templates
Tell the user the real "hg update -C" command, not just "-C" when aborting.
Thomas Arendsen Hein -
r2038:5c4496ed default
parent child Browse files
Show More
@@ -1662,7 +1662,7 b' class localrepository(object):'
1662 self.ui.status(" %s%s\n" % (f, cf))
1662 self.ui.status(" %s%s\n" % (f, cf))
1663 self.ui.warn(_("aborting update spanning branches!\n"))
1663 self.ui.warn(_("aborting update spanning branches!\n"))
1664 self.ui.status(_("(use 'hg merge' to merge across branches"
1664 self.ui.status(_("(use 'hg merge' to merge across branches"
1665 " or '-C' to lose changes)\n"))
1665 " or 'hg update -C' to lose changes)\n"))
1666 return 1
1666 return 1
1667 branch_merge = True
1667 branch_merge = True
1668
1668
@@ -2,4 +2,4 b' removing b'
2 this update spans a branch affecting the following files:
2 this update spans a branch affecting the following files:
3 b
3 b
4 aborting update spanning branches!
4 aborting update spanning branches!
5 (use 'hg merge' to merge across branches or '-C' to lose changes)
5 (use 'hg merge' to merge across branches or 'hg update -C' to lose changes)
@@ -101,7 +101,7 b' this update spans a branch affecting the'
101 a (resolve)
101 a (resolve)
102 b (resolve)
102 b (resolve)
103 aborting update spanning branches!
103 aborting update spanning branches!
104 (use 'hg merge' to merge across branches or '-C' to lose changes)
104 (use 'hg merge' to merge across branches or 'hg update -C' to lose changes)
105 failed
105 failed
106 abort: outstanding uncommitted changes
106 abort: outstanding uncommitted changes
107 failed
107 failed
General Comments 0
You need to be logged in to leave comments. Login now