bzr-fastimport and revision-editing

John Arbash Meinel john at arbash-meinel.com
Mon Aug 24 18:59:58 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Torsten Bronger wrote:
> Hallöchen!
> 
> [I didn't want to steal Ian's thread.]
> 
> Is it possible with bzr-fastimport to remove accidentally added
> passwords from the history?  I'd like to erase all occurences of
> passwords with ***.  Last time it failed, so I though that it's a
> checksum issue.  But in the thread "bzr-fastimport progress update"
> Ian speaks about bzr-export issues.
> 
> I haven't tried a clean round-trip yet.  May it have been a
> bzr-export issue or is my plan doomed to fail anyway?
> 
> Tschö,
> Torsten.
> 

Don't try to "round-trip" revisions that you are filtering. You are
changing things, and calling them the same is a good way to end up with
corruption.

That said, I believe there is 'bzr filter-branch' as part of the
fast-export suite, which will help you to generate a new history that
looks a lot like the old one, but has bits pruned out, etc.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqS1R4ACgkQJdeBCYSNAAOt/ACfYfoPcsmJDFgZsmY4Wbazm9RS
GagAoNoy0e+W8q8yqI/rl0+UpyHRZm8a
=7ive
-----END PGP SIGNATURE-----



More information about the bazaar mailing list