You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by N D <ni...@gmail.com> on 2008/10/21 12:19:00 UTC

query on svn copy

Hi all,

my build process preapres some new files in the working copy.

when i do a svn status --no-ignore on my working copy I see ? against these
newly generated files.

when i tag the working copy into the repository using svn copy operation (in
the build script), will the ? marked items go into the designated tag as
well? I checked the newly created tag, but could not find these in the tag.

Re: query on svn copy

Posted by vishwajeet singh <de...@gmail.com>.
Adding the artifacts which are generated as process of build is not a good
idea.
I would recommend you not to add them just tag the source which generates
it.


On Tue, Oct 21, 2008 at 6:20 PM, N D <ni...@gmail.com> wrote:

> But the manual says:
>
> WC -> URL
>
> Immediately commit a copy of WC to URL.
> I am using the above flavour of the svn copy operation: svn copy WC URL If
> this a commit of a WC to the URL, how can this be a server side operation?
>
> My commands are somthing like
> 1. svn mkdir : make a directory of a desired tag name
> 2 svn copy WC URL to that tag.
>
> Should I do a add operation before I do the svn copy? If yes, how do i
> search for all the ? marked items. what I want is: dump the WC to the tag
> name as in 1, 2.
>
> Please help
>
> On Tue, Oct 21, 2008 at 2:44 PM, vishwajeet singh <de...@gmail.com>wrote:
>
>> Unless you add those files to Subversion they will not go into tags.
>> As creation of tags takes place on server side and your working copy
>> reamins at what ever state it was and local changes do not go into tags.
>>
>>
>> On Tue, Oct 21, 2008 at 5:49 PM, N D <ni...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> my build process preapres some new files in the working copy.
>>>
>>> when i do a svn status --no-ignore on my working copy I see ? against
>>> these newly generated files.
>>>
>>> when i tag the working copy into the repository using svn copy operation
>>> (in the build script), will the ? marked items go into the designated tag as
>>> well? I checked the newly created tag, but could not find these in the tag.
>>>
>>>
>>>
>>
>>
>>
>> --
>> Cheers,
>> Vishwajeet
>> http://www.singhvishwajeet.com
>>
>
>


-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com

Re: query on svn copy

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 21, 2008, at 07:50, N D wrote:

> But the manual says:
> WC -> URL
>
> Immediately commit a copy of WC to URL.
>
> I am using the above flavour of the svn copy operation: svn copy WC  
> URL
> If this a commit of a WC to the URL, how can this be a server side  
> operation?
>
> My commands are somthing like
> 1. svn mkdir : make a directory of a desired tag name
> 2 svn copy WC URL to that tag.
>
> Should I do a add operation before I do the svn copy? If yes, how  
> do i search for all the ? marked items. what I want is: dump the WC  
> to the tag name as in 1, 2.

Yes, you would need to "svn add" them if you want them to go into the  
repository.

You can search for items whose status is "?" by piping the output of  
"svn st" to any of the text processing tools at your disposal  
provided by your operating system, such as grep, sed or awk on Unix- 
like operating systems, e.g.

svn st | awk '/^?/ {print $2}'


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: query on svn copy

Posted by N D <ni...@gmail.com>.
But the manual says:

WC -> URL

Immediately commit a copy of WC to URL.
I am using the above flavour of the svn copy operation: svn copy WC URL
If this a commit of a WC to the URL, how can this be a server side
operation?

My commands are somthing like
1. svn mkdir : make a directory of a desired tag name
2 svn copy WC URL to that tag.

Should I do a add operation before I do the svn copy? If yes, how do i
search for all the ? marked items. what I want is: dump the WC to the tag
name as in 1, 2.

Please help

On Tue, Oct 21, 2008 at 2:44 PM, vishwajeet singh <de...@gmail.com>wrote:

> Unless you add those files to Subversion they will not go into tags.
> As creation of tags takes place on server side and your working copy
> reamins at what ever state it was and local changes do not go into tags.
>
>
> On Tue, Oct 21, 2008 at 5:49 PM, N D <ni...@gmail.com> wrote:
>
>> Hi all,
>>
>> my build process preapres some new files in the working copy.
>>
>> when i do a svn status --no-ignore on my working copy I see ? against
>> these newly generated files.
>>
>> when i tag the working copy into the repository using svn copy operation
>> (in the build script), will the ? marked items go into the designated tag as
>> well? I checked the newly created tag, but could not find these in the tag.
>>
>>
>>
>
>
>
> --
> Cheers,
> Vishwajeet
> http://www.singhvishwajeet.com
>

Re: query on svn copy

Posted by vishwajeet singh <de...@gmail.com>.
Unless you add those files to Subversion they will not go into tags.
As creation of tags takes place on server side and your working copy reamins
at what ever state it was and local changes do not go into tags.

On Tue, Oct 21, 2008 at 5:49 PM, N D <ni...@gmail.com> wrote:

> Hi all,
>
> my build process preapres some new files in the working copy.
>
> when i do a svn status --no-ignore on my working copy I see ? against these
> newly generated files.
>
> when i tag the working copy into the repository using svn copy operation
> (in the build script), will the ? marked items go into the designated tag as
> well? I checked the newly created tag, but could not find these in the tag.
>
>
>



-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com