[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: Les Mikesell <lesmikesell_at_gmail.com>
Date: Tue, 09 Sep 2008 12:48:26 -0500

Dave Lawrence wrote:
>
>> 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
> What about
> - add the file in your w/c (but don't commit)
> - create the tag from your w/c
> - revert the addition afterwards
>
> so the file would never be added to trunk, and it would only be "added"
> in you w/c briefly, while the script runs.

If you don't mind adding a new directory to hold this new file you could
'svn import' it after creating the tag, but you would be violating
several typical subversion conventions in the process.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
---------------------------------------------------------------------
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-09 19:47:48 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.