##// END OF EJS Templates
repair: use cg?unpacker.apply() instead of changegroup.addchangegroup()
Augie Fackler -
r26701:b1a0c534 default
parent child Browse files
Show More
@@ -197,9 +197,7 b' def strip(ui, repo, nodelist, backup=Tru'
197 197 finally:
198 198 tr.release()
199 199 else:
200 changegroup.addchangegroup(repo, gen, 'strip',
201 'bundle:' + vfs.join(chgrpfile),
202 True)
200 gen.apply(repo, 'strip', 'bundle:' + vfs.join(chgrpfile), True)
203 201 if not repo.ui.verbose:
204 202 repo.ui.popbuffer()
205 203 f.close()
@@ -310,4 +308,3 b' def stripbmrevset(repo, mark):'
310 308 "ancestors(head() and not bookmark(%s)) - "
311 309 "ancestors(bookmark() and not bookmark(%s))",
312 310 mark, mark, mark)
313
General Comments 0
You need to be logged in to leave comments. Login now