##// END OF EJS Templates
update: for "noconflict" updates, print "conflicting changes" on conflict...
Martin von Zweigbergk -
r31175:7433b3bc default
parent child Browse files
Show More
@@ -1602,8 +1602,8 b' def update(repo, node, branchmerge, forc'
1602 1602 if updatecheck == 'noconflict':
1603 1603 for f, (m, args, msg) in actionbyfile.iteritems():
1604 1604 if m not in ('g', 'k', 'r'):
1605 msg = _("uncommitted changes")
1606 hint = _("commit or update --merge to allow merge")
1605 msg = _("conflicting changes")
1606 hint = _("commit or update --clean to discard changes")
1607 1607 raise error.Abort(msg, hint=hint)
1608 1608
1609 1609 # Prompt and create actions. Most of this is in the resolve phase
@@ -295,8 +295,8 b' File conflict is not allowed'
295 295 $ hg up -qC 3
296 296 $ echo dirty >> a
297 297 $ hg up -q 4
298 abort: uncommitted changes
299 (commit or update --merge to allow merge)
298 abort: conflicting changes
299 (commit or update --clean to discard changes)
300 300 [255]
301 301 $ hg up -m 4
302 302 merging a
General Comments 0
You need to be logged in to leave comments. Login now