Your message dated Tue, 15 Jan 2008 22:39:23 -0500
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #460998,
regarding metastore: add option to (re)create directories
to be marked as having been forwarded to the upstream software
author(s) David Härdeman <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Mourad De Clerck wrote:
> Package: metastore
> Version: 1-2
> Severity: wishlist
>
> It would be nice if metastore recreated empty directories too, considering
> neither git nor mercurial store these. Metastore already stores the metadata
> of empty directories, one step further would be to simply recreate these, when
> requested by the user (a "--dir" option for instance)
This is an interesting idea to me, since etckeeper uses metastore and
has a separate mechanism to handle empty directories.
It occurs to me that a wrapper around metastore could just use metastore -c
to list missing directories:
[EMAIL PROTECTED]:/etc>rmdir foo
[EMAIL PROTECTED]:/etc>metastore -c
./foo: removed
Only problem is there's no way to tell that foo is supposed to be an empty
directory, rather than some other sort of file.
--
see shy jo
signature.asc
Description: Digital signature
--- End Message ---