[darcs-users] Can I express extra dependencies between patches?

Zooko O'Whielacronx zooko at zooko.com
Sat Mar 19 12:45:51 UTC 2005


> In the final step, darcs allows me to pull "implement feature Y"
> without pulling "add feature_x_support", since they do not
> textually depend on each other.  It would be nice if I can
> somehow express the fact that the "implement feature Y" patch
> depends on "add feature_x_support" patch when I record it.

I think that darcs allowing you to specify a dependency would be a very 
cool feature.

You might be able to make this behavior yourself.  Add a text file 
called ".manualdarcsdependencies.txt", and in the patch "add 
feature_x_support", add a line to that file like this: 
"feature_x_support".  And in the patch "implement feature Y", change 
that line in the file to "feature_x_support: Y".

Darcs would then pull feature_x_support anytime you pulled feature Y, 
right?

:-)

--Z





More information about the darcs-users mailing list