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ʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı

 ___
 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] 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
 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ʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
 


-- 
James Turner
___
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] 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 tried doing:
 mkdir a
 fossil add a

 but that didn't work.

 --
 ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı

 ___
 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] 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 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 tried doing:
 mkdir a
 fossil add a

 but that didn't work.

 --
 ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı

 ___
 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] 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ıɥʇ pɐǝɹ uɐɔ noʎ ɟı

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




-- 
D. Richard Hipp
d...@sqlite.org
___
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] 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ɐǝɹ uɐɔ noʎ ɟı
___
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] 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
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] 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 a and b (c is missing, either because c 
isn’t yet created, or because c was removed, depending on whether version X 
comes before or after version Y).

In either case, if you update from version X to version Y (using FOSSIL UPDATE 
command), the c directory is emptied but not completely removed even though 
it’s not part of the currently loaded version.  This is quite a bit annoying, 
specially when you scale this problem to many such empty subdirectories.___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users