##// END OF EJS Templates
rebase: make dry-run return 1 or 0 according to result...
Sushil khanchi -
r38462:e6b643cc @53 default
parent child Browse files
Show More
@@ -825,8 +825,10 b' def rebase(ui, repo, **opts):'
825 825 **opts)
826 826 except error.InMemoryMergeConflictsError:
827 827 ui.status(_('hit a merge conflict\n'))
828 return 1
828 829 else:
829 830 ui.status(_('there will be no conflict, you can rebase\n'))
831 return 0
830 832 finally:
831 833 _origrebase(ui, repo, abort=True)
832 834 elif inmemory:
@@ -287,6 +287,7 b' Make a conflict:'
287 287 rollback completed
288 288 hit a merge conflict
289 289 rebase aborted
290 [1]
290 291 $ hg diff
291 292 $ hg status
292 293 $ hg log -G --template "{rev}:{short(node)} {person(author)}\n{firstline(desc)} {topic}\n\n"
@@ -322,3 +323,4 b' Check dryrun working with --collapse whe'
322 323 merging e
323 324 hit a merge conflict
324 325 rebase aborted
326 [1]
General Comments 0
You need to be logged in to leave comments. Login now