OK, thanks.

But, what would be wrong with using / which is closer semantically, and 
compatible to both Linux and Windows path syntax?

From: Stephan Beal 
Sent: Thursday, September 07, 2017 7:46 PM
To: fossil-users 
Subject: Re: [fossil-users] Is there a way to specify paths relative to 
checkout's root?

There's not currently, and if someone wants to implement it i would suggest : 
as a prefix, since fossil does not allow : in file names (for Windows 
compatibility).


----- stephan
Sent from a mobile device, possibly from bed. Please excuse brevity, typos, and 
top-posting.

On Sep 7, 2017 18:43, "Tony Papadimitriou" <to...@acm.org> wrote:

  For example, assuming a checkout tree like this:

  lib/file
  a/b/c/d/e/f/g/h/j/file

  and while inside the j subdirectory, I want to refer to lib/file by doing 
something like:

  fossil tim –p /lib/file

  instead of 

  fossil tim –p ../../../../../../../../lib/file

  (and not sure if I got the number of ../ right, see the problem?)

  Similar to how one uses ~ to refer to home path in Linux, although I’m 
interested for this to work in Windows also.

  I tried both ~ and / with no success.
  (I guess / would be the obvious way to do this as it’s the checkout’s logical 
root.)

  Is there a way to do this?

  Thanks.

  _______________________________________________
  fossil-users mailing list
  fossil-users@lists.fossil-scm.org
  http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




--------------------------------------------------------------------------------
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to