[merge] tags in repository
Aaron Bentley
aaron.bentley at utoronto.ca
Tue Jan 23 14:28:49 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> This adds tags stored in the repository, and visible across branches in
> that repository. Adding a tag doesn't require a commit. Tags are
> 'global' across projects so people should use them appropriately - eg
> putting the project name at the start of the tag like 'bzr-0.14'.
>
> Tags are copied by commands like push, pull, merge, branch. This is
> done in the command line level rather than from eg fetch (but I'm open
> to changing it) because commands might want 'pull --no-tags' or 'pull
> --overwrite-tags' in the future.
>
> This incidentally adds a -d option to override the default directory for
> some commands, for ease of testing and because it's previously been
> requested.
That is nice. Does it accept URLs or just local paths?
> Implementation notes:
>
> * This adds them into the KnitRepository2 format. I would like them to
> be in the default format for the next release, but I'm not sure if
> all the changes in KnitRepository2 are in that class.
I wasn't planning on making knit2 the default format, ever. Knit2
supports full root metadata, but unless deployed with a new working tree
format, it won't have unique root ids.
So I've been working on WorkingTree4, but it supports by-reference trees
as well as unique roots, so it requires KnitRepository3.
But if you're going to introduce a new repo format as the default, I
guess it might as well be KnitRepository2. KnitRepository2 isn't a bad
choice-- the only real difference from 3 is whether the inventory
supports by-reference trees.
> * Delete tags
Given that we don't want deleted tags to reappear when fetching, perhaps
deletion should actually set the tag to a special value, e.g. 'deleted:'.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFthuh0F+nu1YWqI0RAhfaAJ47AazbdCw4b6fRZdtSVKpj2+4r8ACgg19x
+dt84kz7qV/yEuTixjnZwIY=
=1OBQ
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list