##// END OF EJS Templates
fix: include cleanupnodes() in transaction...
Martin von Zweigbergk -
r38439:c1f4364f default
parent child Browse files
Show More
@@ -133,7 +133,7 def fix(ui, repo, *pats, **opts):
133 raise error.Abort(_('cannot specify both "--rev" and "--all"'))
133 raise error.Abort(_('cannot specify both "--rev" and "--all"'))
134 opts['rev'] = ['not public() and not obsolete()']
134 opts['rev'] = ['not public() and not obsolete()']
135 opts['working_dir'] = True
135 opts['working_dir'] = True
136 with repo.wlock(), repo.lock():
136 with repo.wlock(), repo.lock(), repo.transaction('fix'):
137 revstofix = getrevstofix(ui, repo, opts)
137 revstofix = getrevstofix(ui, repo, opts)
138 basectxs = getbasectxs(repo, opts, revstofix)
138 basectxs = getbasectxs(repo, opts, revstofix)
139 workqueue, numitems = getworkqueue(ui, repo, pats, opts, revstofix,
139 workqueue, numitems = getworkqueue(ui, repo, pats, opts, revstofix,
@@ -322,7 +322,6 replacing anything that isn't public.
322
322
323
323
324 $ hg fix --all
324 $ hg fix --all
325 1 new orphan changesets
326
325
327 $ hg log --graph --template '{rev} {desc}\n' -r 'sort(all(), topo)' --hidden
326 $ hg log --graph --template '{rev} {desc}\n' -r 'sort(all(), topo)' --hidden
328 o 11 fifth
327 o 11 fifth
General Comments 0
You need to be logged in to leave comments. Login now