[darcs-users] "broken" hard links.

Eric Kow kowey at darcs.net
Wed Apr 29 15:22:29 UTC 2009


On Wed, Apr 29, 2009 at 13:02:54 +1000, Trent W. Buck wrote:
> >>>> Short of there being a bug, is there any reason for hashed repos to
> >>>> go out of sync?
> 
> The following transcript demonstrates this using a concrete example:
> the Darcs repo.  The working directory is in /tmp, which is a
> different filesystem from the cache directory in /home/twb/.darcs/cache.

...

>     $ darcs optimize --repo R --sibling S --relink
>     Done optimizing!
>     $ map du -- -sm -sml
>     49      .
>     81      .

Thanks!  I walk away from this understanding that repos can be naturally
out of synch even if they are on the same filesystem if they lack a
cache on their filesystem and also that darcs optimize --relink is also
helpful on hashed repositories.  This then answers the question of
whether we should keep the option around.

Cheers,

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090429/6a6bc0d2/attachment.pgp>


More information about the darcs-users mailing list