##// END OF EJS Templates
shelve: use cg?unpacker.apply() instead of changegroup.addchangegroup()
Augie Fackler -
r26697:008761af default
parent child Browse files
Show More
@@ -96,9 +96,9 b' class shelvedfile(object):'
96 96 fp = self.opener()
97 97 try:
98 98 gen = exchange.readbundle(self.repo.ui, fp, self.fname, self.vfs)
99 changegroup.addchangegroup(self.repo, gen, 'unshelve',
100 'bundle:' + self.vfs.join(self.fname),
101 targetphase=phases.secret)
99 gen.apply(self.repo, 'unshelve',
100 'bundle:' + self.vfs.join(self.fname),
101 targetphase=phases.secret)
102 102 finally:
103 103 fp.close()
104 104
General Comments 0
You need to be logged in to leave comments. Login now