[darcs-users] Feature Request: scrap the "./"

Benjamin Franksen benjamin.franksen at bessy.de
Fri Apr 20 21:33:24 UTC 2007


Hi Guys

I find it strange that darcs always outputs file names with a "./"
prepended. This is useless at best, which is when my CWD is actually the
top level of the repo. It gets seriously misleading whenever the CWD is
something different, e.g. a directory level below. A trivial example:

ben at sarun: .../tmp/my-repo > darcs init
ben at sarun: .../tmp/my-repo > mkdir subdir
ben at sarun: .../tmp/my-repo > darcs add subdir 
ben at sarun: .../tmp/my-repo > darcs record -a -m 'subdir added'
Finished recording patch 'subdir added'
ben at sarun: .../tmp/my-repo > cd subdir 
ben at sarun: .../my-repo/subdir > touch file-in-subdir
ben at sarun: .../my-repo/subdir > darcs whatsnew -l .
What's new in "subdir":

a ./subdir/file-in-subdir

Would it be possible to remove this wart? (i hesitate calling it a bug)

Cheers
Ben




More information about the darcs-users mailing list