Re: cvs checkout help

"chinmaya" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
hi 

this logic is for few files if many files are present and i only know 
the tag names. suppose that we have 100 files for the first tag and 
the 30 for the second tag. and and 20 have the both tags. if this is 
the case how can i get the code for the both hving files from the 
first tags and the second tag. is there any command for creating 
sandbox which we use for the MKS which is 
si createsandbox -R --nopopulate --hostname= --port= --project="" 
$HOME/CrossSell
this is what is used for the creating sandbox. is there any this for 
the cvs.

or the problem iam facing is that i need the code from the cvs server 
with certain tags specified. after that i need to do the build using 
ant build. ant build is already configured i just need the code from 
the module but iam facing the problem that it is getting deleted.
thanks
chinmaya

--- In [email protected], "Bo Berglund" <bo.berglund@...> wrote:
>
> What you are doing is checking out files from module CrossSell, 
which
> shall have the specified tag.
> CVS will get you these *and only these* because that is what you
> specified.
> 
> Thus when you run your first operation you get 5 files, but then 
you get
> only 3 files and the other files are erased. This is because these 
do
> not carry the second tag so it would be wrong to leave them in place
> when you in fact have requested the second tag.
> 
> Not very hard to understand, right?
> 
> If you want to have *both* tags present in the module then you need 
to
> specify exactly which files you want, like so:
> 
> cvs update -r sometagname modulename file1 file2 file3 file4 
file5...
> Then for the next tag:
> cvs update -r someothertagname modulename file6 file7 file8
> 
> Of course in this case you need to know which files are tagged with 
the
> two tags you are after. 
> 
> Notice that the -d option to the cvs command will only be used if 
you
> are working inside a blank folder, but the next command you use will
> re-use the CVSROOT from the first command.
> And the -d option is not asking for a "server path" it asks for a
> CVSROOT string like :sppi:severname:/repository.
> 
> 
> 
> Best regards,
> 
> Bo Berglund
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
Behalf
> Of chinmaya
> Sent: den 6 juli 2007 11:11
> To: [email protected]
> Subject: [cvsgui] cvs checkout help
> 
> hi 
> 
> 
>  needed help in some cvs command. Like I have 2 tags from which i 
> need to get the code from cvs server. 
> When I run the 
> cvs -d (server path)  checkout -r XSELL_MAINSTREAM_IT CrossSell
> 
> This is for the first tag XSELL_MAINSTREAM_IT which contains 5 
files. 
> when I run this i get the code for the tags concerned with this. 
when 
> I run the same command for the second tag which contains 3 files
> it overwrites the exsisting 5 files and only 3 files are present 
the 
> second tag I give as 
> cvs -d (server path) checkout -r MAINSTREAM_2 CrossSell
> MAINSTREAM_2 this is the second tag. why is it that when i run the 
> second tag its totally deleting the old 5 files.
> Is there any other process  which will keep the 5 files as well as 
> the 3 files?
> 
> Please help me out with this.
> is there any command which will not delete and will get all the 
files 
> for the neccessary tags.
> 
> thanks
> chinmaya
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/cvsgui/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.