[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs add from a different directory
From: |
E B |
Subject: |
cvs add from a different directory |
Date: |
Thu, 31 Jan 2002 04:55:17 +0000 (GMT) |
Hello cvs guys
My local working repository is at /home/jim/work.
now to add a file/dir under this directory I have
to
cd /home/jim/work
cvs add newfile
Instead I want something like.
$pwd
/some/unknown/directory
$cvs -L /home/jim/work add newfile
ie., I want to specify the working directory too.
there is no such option to cvs. This can be done
through scripts, but that will be platform specific.
My actual requirement is I want to run this command
though a java program and I cant make java to change
the working directory(there are some ways to change
dir but they are unreliable and not recommended).
so I am looking if this can be specified at the
cvs command itself. Any help would be useful.
thanks
eb!
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
- cvs add from a different directory,
E B <=