Re: [fossil-users] Request feature : choose directory for the addremove command
On Fri, Apr 13, 2012 at 5:59 AM, vince vinc...@neuf.fr wrote: Hello, the command addremove synchronize the repository with the working directory. So that fossil adds files that have nothing to do with my projects, such as the file fossil.exeitself! We should be able to choose from which directory we want to do the addremove. Or we can change the working directory. thanks. If fossil is trying to add files such as fossil.exe then you may have opened your fossil repo at the root of your drive. Search for a file _FOSSIL_ Every file and directory under the level where you find the _FOSSIL_ is inside your repo. Note that you can use the ignore-glob mechanism to tell fossil to ignore files that should not be tracked or managed by fossil. Either add a file .fossil-settings/ignore-glob with one pattern on each line for the files or browse to settings in the ui and add your remove patterns in the ignore-glob field there. ___**_ fossil-users mailing list fossil-users@lists.fossil-scm.**org fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/**fossil-usershttp://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
Re: [fossil-users] Request feature : choose directory for the addremove command
Hello, I have not created my repo at the root of my drive. For example, I have fossil.exe in d:\projects\ I have a repo as follows: d:\projects\myproject1\myproject1.fossil When I open the repo, the file_FOSSIL_ is in d:\projects\ Whenever it is in the same directory as fossil.exe I don't know how to change that. The ignore-glob mechanism is not a solution. Le 13/04/2012 16:25, Matt Welland a écrit : On Fri, Apr 13, 2012 at 5:59 AM, vince vinc...@neuf.fr mailto:vinc...@neuf.fr wrote: Hello, the command addremove synchronize the repository with the working directory. So that fossil adds files that have nothing to do with my projects, such as the file fossil.exeitself! We should be able to choose from which directory we want to do the addremove. Or we can change the working directory. thanks. If fossil is trying to add files such as fossil.exe then you may have opened your fossil repo at the root of your drive. Search for a file _FOSSIL_ Every file and directory under the level where you find the _FOSSIL_ is inside your repo. Note that you can use the ignore-glob mechanism to tell fossil to ignore files that should not be tracked or managed by fossil. Either add a file .fossil-settings/ignore-glob with one pattern on each line for the files or browse to settings in the ui and add your remove patterns in the ignore-glob field there. fossil-users mailing list fossil-users@lists.fossil-scm.org mailto: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
Re: [fossil-users] Request feature : choose directory for the addremove command
On Fri, Apr 13, 2012 at 5:37 PM, vince vinc...@neuf.fr wrote: I have a repo as follows: d:\projects\myproject1\myproject1.fossil When I open the repo, the file _FOSSIL_ is in d:\projects\ Then you're opening it from that directory. Or perhaps projects or myproject1 is a Windows LNK (we've had some weird problems with them in the past)? -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Request feature : choose directory for the addremove command
it's not a link. I open it with the command : d:\projects fossil open d:\projects\myproject1\myproject1.fossil Le 13/04/2012 18:11, Stephan Beal a écrit : On Fri, Apr 13, 2012 at 5:37 PM, vince vinc...@neuf.fr mailto:vinc...@neuf.fr wrote: I have a repo as follows: d:\projects\myproject1\myproject1.fossil When I open the repo, the file_FOSSIL_ is in d:\projects\ Then you're opening it from that directory. Or perhaps projects or myproject1 is a Windows LNK (we've had some weird problems with them in the past)? -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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
Re: [fossil-users] Request feature : choose directory for the addremove command
You are opening the working directory in the directory from which you call the command (fossil open). Thus, you ARE opening the working directory into d:\projects. hence, fossil addremove adds everything in d:\projects and below. Hence the issues you are seeing. Tomek On Fri, Apr 13, 2012 at 12:18 PM, vince vinc...@neuf.fr wrote: it's not a link. I open it with the command : d:\projects fossil open d:\projects\myproject1\myproject1.fossil Le 13/04/2012 18:11, Stephan Beal a écrit : On Fri, Apr 13, 2012 at 5:37 PM, vince vinc...@neuf.fr wrote: I have a repo as follows: d:\projects\myproject1\myproject1.fossil When I open the repo, the file _FOSSIL_ is in d:\projects\ Then you're opening it from that directory. Or perhaps projects or myproject1 is a Windows LNK (we've had some weird problems with them in the past)? -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing listfossil-users@lists.fossil-scm.orghttp://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
Re: [fossil-users] Request feature : choose directory for the addremove command
On Fri, Apr 13, 2012 at 6:18 PM, vince vinc...@neuf.fr wrote: it's not a link. I open it with the command : d:\projects fossil open d:\projects\myproject1\myproject1.fossil It is generally considered bad practice to have the .fossil file UNDER or IN the open target directory. That is the source of the confusion. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users