##// END OF EJS Templates
cleanup: remove redundant clearing of mergestate in rebase and shelve...
Martin von Zweigbergk -
r44920:f0021fbe default
parent child Browse files
Show More
@@ -548,11 +548,6 b' class rebaseruntime(object):'
548 date=date,
548 date=date,
549 )
549 )
550
550
551 if newnode is None:
552 # If it ended up being a no-op commit, then the normal
553 # merge state clean-up path doesn't happen, so do it
554 # here. Fix issue5494
555 mergemod.mergestate.clean(repo)
556 return newnode
551 return newnode
557
552
558 def _rebasenode(self, tr, rev, allowdivergence, progressfn):
553 def _rebasenode(self, tr, rev, allowdivergence, progressfn):
@@ -827,10 +827,6 b' def unshelvecontinue(ui, repo, state, op'
827 )
827 )
828
828
829 if newnode is None:
829 if newnode is None:
830 # If it ended up being a no-op commit, then the normal
831 # merge state clean-up path doesn't happen, so do it
832 # here. Fix issue5494
833 merge.mergestate.clean(repo)
834 shelvectx = state.pendingctx
830 shelvectx = state.pendingctx
835 msg = _(
831 msg = _(
836 b'note: unshelved changes already existed '
832 b'note: unshelved changes already existed '
@@ -1031,10 +1027,6 b' def _rebaserestoredcommit('
1031 )
1027 )
1032
1028
1033 if newnode is None:
1029 if newnode is None:
1034 # If it ended up being a no-op commit, then the normal
1035 # merge state clean-up path doesn't happen, so do it
1036 # here. Fix issue5494
1037 merge.mergestate.clean(repo)
1038 shelvectx = tmpwctx
1030 shelvectx = tmpwctx
1039 msg = _(
1031 msg = _(
1040 b'note: unshelved changes already existed '
1032 b'note: unshelved changes already existed '
General Comments 0
You need to be logged in to leave comments. Login now