##// 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 finally:
197 finally:
198 tr.release()
198 tr.release()
199 else:
199 else:
200 changegroup.addchangegroup(repo, gen, 'strip',
200 gen.apply(repo, 'strip', 'bundle:' + vfs.join(chgrpfile), True)
201 'bundle:' + vfs.join(chgrpfile),
202 True)
203 if not repo.ui.verbose:
201 if not repo.ui.verbose:
204 repo.ui.popbuffer()
202 repo.ui.popbuffer()
205 f.close()
203 f.close()
@@ -310,4 +308,3 b' def stripbmrevset(repo, mark):'
310 "ancestors(head() and not bookmark(%s)) - "
308 "ancestors(head() and not bookmark(%s)) - "
311 "ancestors(bookmark() and not bookmark(%s))",
309 "ancestors(bookmark() and not bookmark(%s))",
312 mark, mark, mark)
310 mark, mark, mark)
313
General Comments 0
You need to be logged in to leave comments. Login now