[merge] tags in repository
Jan Hudec
bulb at ucw.cz
Thu Jan 25 19:49:02 GMT 2007
On Thu, Jan 25, 2007 at 12:29:02 +0100, Nicholas Allen wrote:
> Matthew D. Fuller wrote:
> >On Tue, Jan 23, 2007 at 11:50:21AM +1100 I heard the voice of
> >Martin Pool, and lo! it spake thus:
> >
> >>This adds tags stored in the repository, and visible across branches
> >>in that repository.
> >>
> >
> >This puts another nail in the coffin of "repositories are just a
> >storage optimization". Not that that's good or bad; just is.
> >
>
> I think its bad - sorry ;-(
> Every developer can set up repositories as they see fit. This now throws
> a spanner in the works and makes repositories harder to explain to
> users. It also means theres a fairly good chance someone will mess up a
> tag because they setup a shared repository for more than one project.
Well, it's the same as git.
What we should really want is that a tag name should be unique per ancestry.
Ie. a branch would see tags that have non-trivial intersection of ancestry
with it. Repository could contain multiple tags with the same name as long as
they would be for branches with disjoint hisotory.
When unique root IDs are introduced, this would even be easy to check, since
histories are disjoint iff they have different root id.
> I also want to see who created the tag, perhaps move it myself if I see
> it is the wrong version and so on. In a distributed development
> environment anyone should be able to do this and when you merge you have
> to resolve the conflicts with the tags too. I know tags don't change
> often but people make mistakes and version control allows one to fix
> that and record why you think it needed to be changed. The fact that
> tags don't change often means that resolving conflicts in tags will be a
> rare event so it is not a problem. But just because they don't change
> often doesn't mean they should not be versioned IMHO...
I would vote for versioned (independently of revisions) tags too.
--
Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070125/edc462d9/attachment.pgp
More information about the bazaar
mailing list