rfc: optionally hardlink packs for local branching
John Arbash Meinel
john at arbash-meinel.com
Thu Feb 21 19:08:30 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
| On Thu, 2008-02-21 at 15:08 +1100, Martin Pool wrote:
|> I'd like to add an option to branch (and maybe push/pull) that will
|> hardlink packs between repositories when possible.
|>
|> Normally regular push/pull/branch filter and copy only the relevant
|> reachable data, and this obviously would not. Still, I think it would
|> be a useful option for some cases, and possibly much faster when it is
|> relevant.
|
| Why wouldn't you use a local repository?
|
| That said, I don't have a strong objection to this; as long as only
| packs and the .?ix files are hardlinked.
|
| -Rob
|
I would say because "bzr branch --hardlink" is discoverable from "bzr help
branch" while knowing that you should be using a local repository is a bit
harder to discover. (It at least requires reading another document, which has to
explain how to set one up, etc.)
So for me, the only argument for --hardlink is that it has a smaller mental
overhead than setting up a shared repository. Especially since everyone cringes
at "create one in $HOME and forget about it".
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHvcwuJdeBCYSNAAMRApYoAKCosxfrZ7nbgDTlnIWBlYprHz4pvACfYxUM
2yPRecEW0P/00DqDZBm+wpk=
=HWnC
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list