Re: [fossil-users] add empty directory

2010-07-12 Thread Richard Hipp
Fossil only versions files, not directories.  Directories exist only if they
contain a versioned file. So, no, there is no way to add an empty directory
in Fossil.

On Mon, Jul 12, 2010 at 11:33 AM, Sergey Volkov s...@mooby.org wrote:

 Hi all!

 There is no way to add empty directory to Fossil repository?
 ___
 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] add empty directory

2010-07-12 Thread Joshua Paine
I have needed this also, and I do: `touch empty_dir/dir; fossil add 
empty_dir`

-- 
Joshua Paine
LetterBlock: Web applications built with joy
http://letterblock.com/
301-576-1920
___
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] add empty directory

2010-07-12 Thread Sergey Volkov
12.07.2010 19:05, Joshua Paine пишет:
 I have needed this also, and I do: `touch empty_dir/dir; fossil add
 empty_dir`



So to add empty directory i need to create any empty file in it?
for example
  mkdir empty_dir
  touch empty_dir/.empty
  fossil add empty_dir

i should work, i think, of course directory will not by empty :)
___
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] add empty directory

2010-07-12 Thread Michael Richter
On 13 July 2010 00:35, Sergey Volkov s...@mooby.org wrote:

 12.07.2010 19:05, Joshua Paine пишет:
  I have needed this also, and I do: `touch empty_dir/dir; fossil add
  empty_dir`
 
 

 So to add empty directory i need to create any empty file in it?
 for example
   mkdir empty_dir
   touch empty_dir/.empty
   fossil add empty_dir

 i should work, i think, of course directory will not by empty :)


To avoid any confusion, I'd suggest touch empty_dir/.not-quite-empty.

-- 
Perhaps people don't believe this, but throughout all of the discussions of
entering China our focus has really been what's best for the Chinese people.
It's not been about our revenue or profit or whatnot.
--Sergey Brin, demonstrating the emptiness of the don't be evil mantra.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users