[darcs-users] Newbie questions, Nested Repositories
Andrew Wagner
awagner at uiuc.edu
Tue Feb 15 17:17:04 UTC 2005
>> Ah. If I already have repos /home/jch/A/B, can I safely create a
>> repos
>> /home/jch/A around the existing repository? Does darcs basically
>> treat
>> any directory containing a _darcs subdirectory as boring?
>
> Yes and no, to the two questions. Nested repositories are fine, but
> darcs
> doesn't treat directories containing a _darcs subdirectory as
> boring--although that's not a bad idea. So if you create nested
> repositories, you probably don't want to use --look-for-adds. I never
> use
> --look-for-adds anyways, so for me it's a non-issue.
Whoa, I hadn't noticed the --look-for-adds flag for whatsnew... Should
a command for getting information really be able to change the state of
the repository? Are there a lot of people using this?
So if you have repositories A and B nested inside a repository C,
moving a file from A to B would result in recording a delete file patch
in one repository and an add file patch in the other, with the
super-repository C not even noticing the difference?
If you have the repository and wish to turn one of its sub-directories
into a repository, what is recommended? (i.e. do you need to remove
the files from the super-repository before creating the sub-repository,
or will darcs init do that for you, or is it just not a problem for
some reason?
Thanks,
Drew
Drew Wagner
UIUC ECE Grad Student
Swing Society Photographer
604 W. Nevada #3, Urbana
Home: (217) 344-5581
Work: (217) 244-6626
AIM: drewillini
More information about the darcs-users
mailing list