Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Stephan Beal
Nope - fossil tracks files only. - stephan Sent from a mobile device, possibly from bed. Please excuse brevity and typos. On Oct 6, 2014 4:38 PM, Baruch Burstein bmburst...@gmail.com wrote: I tried doing: mkdir a fossil add a but that didn't work. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread James Turner
On Mon, Oct 06, 2014 at 04:44:30PM +0200, Stephan Beal wrote: Nope - fossil tracks files only. But you can always add a .keep file or something in a directory you want to keep around and track that. - stephan Sent from a mobile device, possibly from bed. Please excuse brevity and

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Gaurav M. Bhandarkar
maybe you could use : fossil settings empty-dirs A comma or newline-separated list of pathnames. On update and checkout commands, if no file or directory exists with that name, an empty directory will be created. On Mon, Oct 6, 2014 at 8:07 PM, Baruch Burstein bmburst...@gmail.com wrote: I

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread B Harder
Arguably, if you need empty dirs in your project as part of a build process, it should be in the Makefile or equiv. -bch On 10/6/14, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: maybe you could use : fossil settings empty-dirs A comma or newline-separated list of pathnames. On update

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Richard Hipp
Fossil only tracks files. So in order to create a directory you must have at least one file in that directory. On Mon, Oct 6, 2014 at 10:37 AM, Baruch Burstein bmburst...@gmail.com wrote: I tried doing: mkdir a fossil add a but that didn't work. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Baruch Burstein
Just for the record: I was not looking for a way to do this. I am trying to work on a svn-import command, and since svn allows this, I just wanted to make sure that I was right in thinking fossil does not allow it, and empty dirs will not get imported. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Stephan Beal
On Mon, Oct 6, 2014 at 4:47 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: maybe you could use : fossil settings empty-dirs Nice tip :). i've been using Fossil since Christmas of 2007 and still learning new things about it. -- - stephan beal

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread tonyp
(BETTER YET: Is it possible to REMOVE empty folders?) For me, there is an even more ‘annoying’ problem with the way empty directories are handled, but I think it is the opposite use case. For example: You have version X that has subdirectories a, b, and c. And, another version Y that has only