[darcs-devel] [patch1143] resolve issue2365: correctly copy pristine in no-worki...

Guillaume Hoffmann bugs at darcs.net
Tue Apr 22 17:42:25 UTC 2014


New submission from Guillaume Hoffmann <guillaumh at gmail.com>:

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 at 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.

----------
files: patch-preview.txt, resolve-issue2365_-correctly-copy-pristine-in-no_working_dir-clones.dpatch, unnamed
messages: 17377
nosy: gh
status: needs-screening
title: resolve issue2365: correctly copy pristine in no-worki...

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1143>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 23099 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20140422/bedd87b9/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolve-issue2365_-correctly-copy-pristine-in-no_working_dir-clones.dpatch
Type: application/x-darcs-patch
Size: 32935 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20140422/bedd87b9/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20140422/bedd87b9/attachment-0001.obj>


More information about the darcs-devel mailing list