info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Export or Checkout to directory/subdir


From: Larry Jones
Subject: Re: Export or Checkout to directory/subdir
Date: Fri, 15 Mar 2002 14:50:54 -0500 (EST)

David Lesle writes:
> 
>       $ cvs export -Dnow -d junk/subdir cvstest
>       cvs export: cannot chdir to junk: No such file or directory
>       cvs export: ignoring module cvstest

If you're using client/server CVS, you can't specify more than one level
of directory.

> Under other circumstances, I would be tempted to just "cd junk; cvs
> export -d subdir ...", but the target environment is less flexible as
> I am trying to use the Ant cvs task.

That's what you have to do.  If it helps, you can do it as a single
command and avoid changing your working directory by running it in a
subshell:

        (cd junk; cvs export -d subdir ...)

-Larry Jones

I hope Mom and Dad didn't rent out my room. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]