RE: cvs checkout help

"Bo Berglund" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
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.