info-cvs
[Top][All Lists]

## Re: checkout without modifying the Entries file

 From: Frederic Brehm Subject: Re: checkout without modifying the Entries file Date: Fri, 13 Sep 2002 08:26:54 -0400

```At 01:58 AM 9/13/2002, Matthew Herrmann wrote:
```
```cvs co proj
cd proj
release PROJ_V_1_1_1

which does:
cvs co -rPROJ_V_1_1_1 -d%TEMP%\proj_temp
cd %TEMP%\proj_temp
build

the problem is that since the checkout happened inside the project folder,
the temp directory gets added to the entries folder and cvs tries to update
the temp folder whenever the project folder gets updated.
```
```
```
Maybe, cd to the temp folder (outside the project folder) before the cvs command? You'll have to set CVSROOT for the command, though. In Unix, you would do something like this:
```
CVSROOT=`cat CVS/Root`
export CVSROOT
cd \$TEMP
cvs co -r\$TAG -d proj_temp

In Windows...well, maybe you can use cygwin.

```
```i'd rather not use "cvs export" because i like the idea of the release
script updating version numbers based on the sticky tag.
```
```
```
I'm not sure what you mean by this. You can do something similar (I think) by using \$Name\$ with cvs export.
```
Fred

_______________________________________________________________
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/

```