Patching from backups
John Arbash Meinel
john at arbash-meinel.com
Thu May 14 15:06:40 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Russel Winder wrote:
> Rob,
>
> On Thu, 2009-05-14 at 18:02 +1000, Robert Collins wrote:
>> On Thu, 2009-05-14 at 08:52 +0100, Russel Winder wrote:
>> ...
>>
>>> "bzr pack" seems to be a no-op, i.e. there is no message from the
>>> command and the state doesn't change after execution.
>> reconcile does a similar thing to pack, I should have noted that for
>> you.
>
> OK, cool.
>
>> If you have one .pack and 4 or 5 index files, your repo is clean.
>
> I have 3 packs and 3 quartets of indices.
>
> The names are different to the ones I copied from backup so there has
> been a repack of some sort.
>
> Now my problems are "bzr qlog", "bzr viz", and "bzr-svn" related but
> that is a different issue to having a problematic repository. I think
> my repository is now in a good state At least I hope so!
>
> Thanks.
>
So you can run:
bzr dump-btree --raw .bzr/repository/pack-names
And it will tell you which pack files it is actually referencing, versus
which ones are just sitting around from the restore.
You can delete things in .bzr/repository/packs/* and
.bzr/repository/indices/* that are not mentioned in pack-names.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoMJW8ACgkQJdeBCYSNAAOhlQCfRWPyShZmmwV3YuJbxYlNiJf3
FLUAn1EVbHfCzSFhGcHth6L1O6Md91fI
=JDDm
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list