On Thu, 27 Oct 2011 13:00:36 +0200, Dmitry Chestnykh <[email protected]> wrote: >Fossil expects your current directory to be inside the root of the >working copy, i.e. the working copy directory itself or any other >directory under it in the hierarchy.
Thanks for the infos, but the issue I was raising occurs even if I run a command in a sub-directory that is within a Fossil repository: ================ C:\Projects>fossil new my.repo C:\Projects>fossil open my.repo C:\Projects>dir 27/10/2011 13:16 56 320 my.repo 27/10/2011 13:15 <DIR> Project1 27/10/2011 13:16 9 216 _FOSSIL_ C:\Projects>fossil add . ADDED Project1/Form1.vb C:\Projects>fossil ls Project1/Form1.vb C:\Projects>fossil commit -m "Added original files" C:\Projects>mkdir Project2 C:\Projects>cd Project2 C:\Projects\Project2>fossil ls Project1/Form1.vb ================ C:\Projects\Project2>fossil diff "Project1/Form1.vb" C:\fossil.exe: file Project2/Project1/Form1.vb does not exist in checkin: C:\Projects\Project2>fossil diff "/Project1/Form1.vb" C:\fossil.exe: file outside of checkout tree: /Project1/Form1.vb ================ So to be able to diff "Project1/Form1.vb", I must first cd to the root of the repository (C:\Projects\") before running the command, so that the path in the file system matches the path in the repository. I find this cumbersome and wanted to check if there were a work-around. Thank you. _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

