On 2004-12-29, John Meacham <john-Xpmz+KwqpqvR7s880joybQ@xxxxxxxxxxxxxxxx>
wrote:
>> darcs.vim was also supposed to work this way but it was buggy. I fixed
>> a couple of things in the latest version. Like vc-darcs.el, darcs.vim
>> also searches recursively upwards from teh current directory for a
>> _darcs repo.
>
> I would really love it if this ability was built into darcs itself.
> Ideally, it should search from the file location rather than the current
> directory since nested darcs repositories are not unheard of.
In a number of cases, darcs /does/ recurse up the tree looking for a
_darcs directory. What specific use-cases do you feel aren't adequetely
addressed? Are you thinking something like this should be supported:
$ cd /
# Although the current directory isn't a darcs repo
# darcs will recurse up from file.txt to look for repos.
$ darcs diff /home/john/proj/file.txt
Mark
--
http://mark.stosberg.com/
|