Clean up tree of a project using bzr

John Arbash Meinel john at arbash-meinel.com
Wed Jul 25 20:01:10 BST 2007


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

matiyam wrote:
> Hi!
> 
> I have a project where i use bzr for version control.
> 
> When i started it, i added a directory which contains lots of big files that
> now i have realised i don't need them to be versioned.
> 
> I know i can do a "bzr rm directory", but then i guess they would be wasting
> space in the .bzr directory.
> 
> Id there a way of (maybe branching, i don't know) cleaning / creating a new
> branch without this directory, but preserving the history of changes in the
> rest of the tree?
> 
> Thanks a lot for your attention, and for such a useful tool!!
> 
> -- M 

You might look into http://launchpad.net/bzr-rebase written by Jelmer.
Basically, you would want to start over before you added the big files, and
then rebase all of your other changes on top of that.

John
=:->

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

iD8DBQFGp531JdeBCYSNAAMRAvcJAKDAisEczzrCJD4A7fQmuGZi3kRpdgCfemww
g/tt5WUa8obfjEJP15Ukw84=
=sMh+
-----END PGP SIGNATURE-----



More information about the bazaar mailing list