[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: checking out a file (not a module)
From: |
Bishop, Murray |
Subject: |
RE: checking out a file (not a module) |
Date: |
Thu, 23 Nov 2000 11:25:14 +1100 |
> From: ari gold [SMTP:address@hidden
> Sent: Thursday, November 23, 2000 10:27 AM
>
> the problem with this, is that it creates a new path.. for example, if i
> have a directory 'dir' and a file in it 'foo' and i remove foo, dir is
> empty
> (natch)..
>
> if i then do, inside of 'dir', 'cvs co dir/foo' it will create another
> directory 'dir' inside of 'dir'...
>
> im looking to just create the file 'foo' by itself...
>
You might want to try 'cvs -H checkout'
which gives you a little help on the switches cvs checkout
understands. Among them you'll find '-d dir'.
I think 'cvs co -d . dir/foo' will give you ./foo
When xxx is a cvs command, 'cvs -H xxx'
gives you a usage for 'cvs xxx'.