Lightweight branches?

Aaron Bentley aaron.bentley at utoronto.ca
Fri Nov 17 13:56:14 GMT 2006


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

Dmitry Vasiliev wrote:
> Aaron Bentley wrote:
> 
>> We do have a spec for what you're talking about, but no one is working
>> on it yet:  http://bazaar-vcs.org/HistoryHorizon
> 
> 
> Just curious about UI changes, why not use -r option instead of
> --shallow/--horizon? For example:
> 
> bzr branch -r -1.. <=> bzr branch --shallow <=> bzr branch --horizon -1
> bzr branch -r -100.. <=> bzr branch --horizon -100
> bzr branch -r -100..-10 <=> bzr branch -r -10 --horizon -100
> 
> I think there is already a plenty of concepts in Bazaar so
> simplification should be one of the important goals.

I agree with that, but I don't think that using a revision range instead
of a flag does this.  If anything, it makes the behavior of -r
surprising.  It also makes it hard to set up shallow branching as a
default behavior, because supplying -r will override it.

I really think "truncate history?" is a separate question from "where
should I stop?".  Making it part of the -r option also makes shallow
branching less discoverable.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFXb9+0F+nu1YWqI0RArk+AJ9z5/lT+qziLTkBoy0jyOHEJNqbXQCeJ6Dt
qFQ3Z4DZd5nYGiqDTYd5sDA=
=+Dmp
-----END PGP SIGNATURE-----




More information about the bazaar mailing list