[darcs-users] Very simple newbie query
Ketil Malde
ketil at ii.uib.no
Fri Apr 23 10:53:44 UTC 2004
andrew at absentis.com (Andrew Lawson) writes:
> myproject/subproject/src/afile.py
> darcs.exe inittree
> darcs add subproject/src/afile.py
> But this failed with 'Skipping: addfile subproject/src/afile.py'. I
> note that I can use the -r to add files recursivlely but I only want
> to add this one file and have plenty of others in subdirectories
> that I do not want affected. Can someone tell me what I'm missing?
Isn't it just that you have to add the subdirectories as well (but of
course not their contents)?
% mkdir test
% cd test
% darcs inittree
Successfully initialized tree!
% mkdir -p foo/bar/baz
% touch foo/bar/baz/foo.py
% darcs add foo/bar/baz/foo.py
Skipping:
addfile ./foo/bar/baz/foo.py
% darcs add foo
% darcs add foo/bar
% darcs add foo/bar/baz
% darcs add foo/bar/baz/foo.py
% darcs whats
{
adddir ./foo
adddir ./foo/bar
adddir ./foo/bar/baz
addfile ./foo/bar/baz/foo.py
}
-kzm
--
If I haven't seen further, it is by standing in the footprints of giants
More information about the darcs-users
mailing list