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

Re: how to add a file to a tag

From: Andreas Mahel <andreas.mahel_at_gmx.net>
Date: Wed, 10 Sep 2008 08:00:24 +0200

Ingo Siebert wrote:
> Hi
>
> I'm trying to add a file to a tag, which isn't and never should be
> under version control in my working copy.
> How can I do this with Subversion commands?
>
> My ANT build file works like this:
> - build my complete application
> - tag it
> - add file to tag (how?)
>
> I don't want to checkout the tag, commit the file and delete the tag
> again. That would take too long.
> Kind Regards,
>
> Ingo
>
How about:
- commit your wc
- create the tag from your wc

- svn switch to the tag url (this should be fairly cheap, as svn knows
they are content-wise identical )
- svn add the file
- commit
-switch back to trunk (or whereever you came from)

just my 0.02¤

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-10 08:00:54 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.