[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: I miss tags

From: Sean Johnston <sean.johnston_at_xenicom.com>
Date: 2004-09-28 12:50:00 CEST

From: Tom McMillen [mailto:thomas.mcmillen@mppglobal.com]
Sent: 28 September 2004 11:43
>
> >
> > This pre-commit hook will also look at user entered text (i.e. the name
of
> > the copied directory) to identify stuff that should not be
> > committable. So,
> > what happens if I typo the name of my tag (e.g.
> > /repos/tagss/mytagwhatever).
> > Now I have created a copy that isn't equivalent to a tag because my
> > pre-commit hook is only looking for /repos/tags/*.
> >
>
> so what if...
>
> svn tag repos/trunk/myproject mytagwhatever
>
> if svn tag could go to a pre-commit hook that could manage the tags
directory and
> ensure that mytagwhatever tag goes to /repos/tags our poor typing skills
would be less of a problem?
>
> > Doing anything on user entered text is always going to be prone to
error.
> > That is why you code systems up to perform common operations and
implement
> > common restrictions.
> >
>
> Agreed, but could this extended functionality possibly not need to be part
of the core svn system?
>
> (I think I'm looking for a third way where people who want tags can have
them and those that don't,
> don't install the additions....)
>

I guess I just cannot understand how anybody can accept that a source
control system can be complete without being able to reference a frozen
version of the code without having to resort to either magic numbers (the
global revision numbers) or examining log outputs.

I can see that the functionality can be implemented with pre-commit hooks,
command aliases, etc. etc. I just think it would be so much simpler if you
could have a single command that didn't involve having to install any hooks
that created a locked copy.

I, personally, do not consider it acceptable to be forced to use additional
hooks and scripts in order to achieve what I consider to be a fairly simple,
but essential, part of my source code control needs.

Sean.

_____________________________________________________________________
This message has been checked for all known viruses by Xenicom delivered through the MessageLabs Virus Control Centre.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 28 12:51:14 2004

This is an archived mail posted to the Subversion Users mailing list.