On Thu, Nov 15, 2001 at 12:09:03PM -0800, Greg Stein wrote:
> On Thu, Nov 15, 2001 at 09:43:32AM -0800, Bruce Atherton wrote:
> > At 09:40 PM 11/14/2001 -0600, Ben Collins-Sussman wrote:
> > >So, in your ideal world, it would be possible to type
> > >
> > > $ svn cp . mytag1
> > >
> > >And voila, your mixed-revision working copy magically appears in some
> > >'automatic' tags-area on the server?
> > >(i.e. http://foo.com/repos/tags/mytag1 is created)
> > Yes, something like that. I'm not concerned with exactly how it is
> > accomplished, I just think it should be easy for those environments where
> > it is a common action.
> You can do that today:
> $ svn cp trunk tags/mytag1
> $ svn commit
> That is awfully simple to me. Ben just gave an example using a URL. The URL
> form avoids the disk copy associated with the above command (a copy within
> the working copy will make a disk copy).
I think the issue is that most of the svn developers have been concerned with
branching/tagging a whole project, whereas Bruce wants an easy way to tag a
single file, without typing that files path in the tags area.
Now maybe the way to do this is to just always branch/tag the whole project
(since it doesn't take up any extra space/time).
$ cd <top of tree>/trunk
$ svn cp . http://some.server.com/repos/tags/mytag1
$ svn switch http://some.server.com/repos/tags/mytag1
Although this is still far more typing than:
cvs tag filename.
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
Received on Sat Oct 21 14:36:48 2006
- application/pgp-signature attachment: stored