[darcs-users] pull-unders
Tuomo Valkonen
tuomov at iki.fi
Tue Sep 13 16:50:08 UTC 2005
It would sometimes be useful to be able to include the modified code of
another project (e.g. a library) in a bigger project, and still be able to
easily track changes in it. Likewise, and perhaps primarily this, it would
be useful occasionally to be able to fuse two projects into one tree,
without losing the other tree's history. Simply darcs pulling from an
unrelated repository obviously will seldom work (infact, IMHO, darcs should
never even try to do that; there could e.g. be some unique root patch
created by darcs init that never commutes), but some kind of --under=new_dir
option to pull would be neat. It would seem that exactly some sort of
project root patch indicating the initial root of a pulled-under project
within the repository ("." for the main project, and the initial pull
--under directory for included projects) checked as a special case on
subsequent pulls would be the best way to make it work. Pushing changes
back to the pulled-under repository wouldn't need to work, in my opinion.
Just my 5¢.
--
Tuomo
More information about the darcs-users
mailing list