Surprisingly enough, `get --no-working-dir` never worked as expected.
Or more precisely, it created working-copy-less repositories that were
also pristine-less.
This patch enables copyHashed to copy a pristine tree without creating
a clean working copy, enabling `get --no-working-dir` to work as expected.
Also I fixed my previous shell test which was broken since "darcs whatsnew"
returns error code 1 when there are no changes.
1 patch for repository http://darcs.net:
Tue Apr 22 14:35:05 ART 2014 Guillaume Hoffmann <guillaumh@gmail.com>
* resolve issue2365: correctly copy pristine in no-working-dir clones
This patch makes Darcs.Repository.HashedIO.copyHashed take
a flag that tells whether a clean working copy should be created
while pristine is copied.
Attachments
|