[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
selectively updating files
From: |
Gwen Park |
Subject: |
selectively updating files |
Date: |
Fri, 6 Jul 2001 11:12:27 -0700 |
Hi,
CVS version: 1.11.0
platform: Solaris 7 on sparc
I am trying to selectively update files in a sandbox, but I ran into a
problem when a directory does not exist.
Say I have the following structure:
in cvs:
|--module
|
|--dir1
|
|--dir2
| |
| |--file1
| |--file2
|
|--file3
in sandbox:
|--module
|
|--dir1
|
|--file3
I want to update module/dir1/dir2/file1 without updating
module/dir1/dir2/file2. I tried:
$ cd module/dir1
$ cvs update -d dir2/file1
And got this error:
cvs [update aborted]: no such directory `dir2'
I did find that this works:
$ cd module/dir1
$ cvs co -d dir2 module/dir1/dir2/file1
But this will not create the appropriate directory structure if
there are multiple levels of directories missing in the working copy
(e.g. if there is dir2/dir3/file4 in cvs, cvs co -d dir2
module/dir1/dir2/dir3/file4 will create module/dir1/dir2/file4, not
module/dir1/dir2/dir3/file4).
Does anyone know how I can do selective updates when directories don't
exist? Any help is appreciated.
Thank you.
gwen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- selectively updating files,
Gwen Park <=