[CC-ing darcs-devel]

I'm just brain storming a little here.

We have absolute paths, relative paths, and repo-root-relative
paths. There is no "file system" way to express a
repo-root-relative path.

What if darcs set the environment variable $rrr to the repo
root, be it ../../some/where, /exactly/here, or
foo://way.over.here? Then you could write rrr paths as
$rrr/src/foo.c. Hm, no you couldn't since the shell expands the
variable before it is set.

What if the user could to type rrr paths as :src/foo.c or
//src/foo.c? File path auto completion won't work anyway.

What I wish would work is

  darcs changes --repo ../here ../here/src/foo.c

since that's who I'd expect it to work (and do the same as the
proposed

  darcs changes --repo ../here :src/foo.c

).

Am I on to something or just on something? ;-)
_______________________________________________
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to