equal
deleted
inserted
replaced
336 if not fullhistory: |
336 if not fullhistory: |
337 fullhistory = history |
337 fullhistory = history |
338 packer = repacker(repo, data, history, fullhistory, category, |
338 packer = repacker(repo, data, history, fullhistory, category, |
339 gc=garbagecollect, isold=isold, options=options) |
339 gc=garbagecollect, isold=isold, options=options) |
340 |
340 |
341 with datapack.mutabledatapack(repo.ui, packpath, version=2) as dpack: |
341 with datapack.mutabledatapack(repo.ui, packpath) as dpack: |
342 with historypack.mutablehistorypack(repo.ui, packpath) as hpack: |
342 with historypack.mutablehistorypack(repo.ui, packpath) as hpack: |
343 try: |
343 try: |
344 packer.run(dpack, hpack) |
344 packer.run(dpack, hpack) |
345 except error.LockHeld: |
345 except error.LockHeld: |
346 raise RepackAlreadyRunning(_("skipping repack - another repack " |
346 raise RepackAlreadyRunning(_("skipping repack - another repack " |