D6037: absorb: run cleanupnodes() within transaction also when not using obsmarkers
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sat Mar 2 02:14:54 UTC 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc6a5009ed04a: absorb: run cleanupnodes() within transaction also when not using obsmarkers (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6037?vs=14270&id=14289
REVISION DETAIL
https://phab.mercurial-scm.org/D6037
AFFECTED FILES
hgext/absorb.py
CHANGE DETAILS
diff --git a/hgext/absorb.py b/hgext/absorb.py
--- a/hgext/absorb.py
+++ b/hgext/absorb.py
@@ -688,9 +688,6 @@
self._movebookmarks(tr)
if self.repo['.'].node() in self.replacemap:
self._moveworkingdirectoryparent()
- if self._useobsolete:
- self._cleanupoldcommits()
- if not self._useobsolete: # strip must be outside transactions
self._cleanupoldcommits()
return self.finalnode
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list