##// END OF EJS Templates
merge: handle case when heads are all bookmarks...
John Li -
r17386:45b5eb29 stable
parent child Browse files
Show More
@@ -4269,7 +4269,7 b' def merge(ui, repo, node=None, **opts):'
4269 hint=_("run 'hg heads .' to see heads"))
4269 hint=_("run 'hg heads .' to see heads"))
4270
4270
4271 parent = repo.dirstate.p1()
4271 parent = repo.dirstate.p1()
4272 if len(nbhs) == 1:
4272 if len(nbhs) <= 1:
4273 if len(bheads) > 1:
4273 if len(bheads) > 1:
4274 raise util.Abort(_("heads are bookmarked - "
4274 raise util.Abort(_("heads are bookmarked - "
4275 "please merge with an explicit rev"),
4275 "please merge with an explicit rev"),
General Comments 0
You need to be logged in to leave comments. Login now