I am using darcs at work for over a year now, but I keep asking myself the same question:
What is the best way to track down the code line/file/code change that is causing a dependency between two patches? For now my way of doing this is as follows:
I check which files the two patches affect using
darcs changes -i
and typingx
for the appropriate patches.I check which files are affected by both patches.
I guess which file is causing the dependency and by using
darcs amend --unrecord
I remove changes to this file from both patches.I check whether the dependency is resolved and add the changes back to the patches, while constantly checking whether the dependency reoccured or not and thereby tracking down the part of the code that is causing the dependency.
This trial and error technique of finding the code line/file that causes the dependency takes a lot of time. There must be an easier way to do this, am I missing something? Thanks in advance!