With darcs 2.9.8 (head):
$ darcs init --repo R
Repository initialized.
$ cd R
$ touch x
$ darcs rec -lam file
Finished recording patch 'file'
$ cd ..
$ darcs get --no-working-dir R S
Copying patches, to get lazy repository hit ctrl-C...
Finished getting.
$ cd S
$ darcs w
darcs failed: error opening
_darcs/pristine.hashed/fcfc54cd9ea19120efa9fb7a4f0234eb3a5379abf20fd7a310efe85e2fde8f93
The following patch sent by Guillaume Hoffmann <guillaumh@gmail.com> updated issue issue2365 with
status=resolved;resolvedin=2.10.0 HEAD
* resolve issue2365: correctly copy pristine in no-working-dir clones
Ignore-this: e6927be930a2dd8131c65f22114a499c
This patch makes Darcs.Repository.HashedIO.copyHashed take
a flag that tells whether a clean working copy should be created
while pristine is copied.