Show More
@@ -609,6 +609,9 b' def update(repo, node, branchmerge, forc' | |||
|
609 | 609 | try: |
|
610 | 610 | node = repo.branchtags()[wc.branch()] |
|
611 | 611 | except KeyError: |
|
612 | if wc.branch() == "default": # no default branch! | |
|
613 | node = repo.lookup("tip") # update to tip | |
|
614 | else: | |
|
612 | 615 | raise util.Abort(_("branch %s not found") % wc.branch()) |
|
613 | 616 | overwrite = force and not branchmerge |
|
614 | 617 | forcemerge = force and branchmerge |
General Comments 0
You need to be logged in to leave comments.
Login now