[darcs-devel] [darcs #526] darcs get on AFS, problems with hardlinks

via RT bugs at darcs.net
Fri Sep 30 04:34:13 PDT 2005


Fri Sep 30 07:34:02 2005: New ticket: 526.
Transaction: Ticket created by guest
       Queue: Darcs
     Subject: darcs get on AFS, problems with hardlinks
       Owner: Nobody
  Requestors: 
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=526 >

When doing local darcs get <dir1> <dir2> on AFS filesystem, hardlinks
between different directories can't be created.
But darcs doesn't complain about this and finishes darcs get without any
warning, leaving <dir2> with no pathes.
>From strace:
link( ..., ...)  = -49733393

which is very strange, b/c allowed return values are 0 or -1.
I think that darcs get should detects the link failure and do a copy
instead.
Another solution could be option --no-link for 'get' and other 'linking'
commands.






More information about the darcs-devel mailing list