[darcs-users] Request: porting patches advice (can I get rid of/ignore dependencies?)

Kevin Smith yarcs at qualitycode.com
Sun May 9 16:38:23 UTC 2004

Jonathan Wright wrote:
> At one stage I tried something akin to what you list below. 

Ok. David has made it pretty clear why that wouldn't work. You need to 
create a relationship between the two repos.

You should be able to do a VSS get of the common point into a darcs 
repo, and inittree, record, and tag it. Each VSS branch will be 
represented by an additional darcs repo. To create each branch, start 
with 'darcs get' from the master repo, and then do a VSS get of the 
lastest branch code, and record and tag that.

You could create them all at once, or one by one as you are about to 
start work on a particular branch. If you want more precision, you could 
create each branch repo by VSS getting multiple increments to bring you 
up to the current branch state. You might also choose to fork each 
branch from the latest common point, but a shortcut would be to fork 
them from a single common ancestor (the point of the first VSS branch).

The "master" repo I mention above can actually be your mainline darcs 
repo. Now, you have a set of repos that exactly correspond to the VSS 
branches, but which share a common ancestor. Any changes you make to one 
branch should be pullable to another.

I hope that makes sense.


More information about the darcs-users mailing list