[darcs-devel] [patch1177] Show a unique patch identifier in 'darcs changes'.

Guillaume Hoffmann bugs at darcs.net
Tue Jul 22 15:07:43 UTC 2014


Guillaume Hoffmann <guillaumh at gmail.com> added the comment:

A forgotten documentation change in the first patch, and
the second patch (enable to mach on hash prefix) enables
to write stuff like:

  darcs pull --matches "hash 5fe25"

which is what will probably happen if users start to see
the patch hashes all over the place.

As I said, the patch hash does not depend on patch contents,
however it does change when one does "darcs amend --keep-date"
since the (hidden) random salt is generated again each time
a patch is recorded/amended. Good news.


2 patches for repository http://darcs.net:

patch 2444e7b3415dfa88119e873fe71b17041bc39f43
Author: Guillaume Hoffmann <guillaumh at gmail.com>
Date:   Tue Jul 22 11:28:43 ART 2014
  * show patch hash in UI and put author and date on separate lines
  
  some cleanups:
  * use correctly makePatchname instead of makeFilename in other
    places of the code
  * remove unused RepoPatchInfo
  * remove unused idpatchinfo
  * remove unused makeAltFilename
  * remove unused HTML class instance of PatchInfo 

patch 5fe25bc5a88b7e5f81125dff9c0f57c4c939231f
Author: Guillaume Hoffmann <guillaumh at gmail.com>
Date:   Tue Jul 22 11:39:00 ART 2014
  * enable to match on hash prefix

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1177>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 17928 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20140722/c4b54d94/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-patch-hash-in-ui-and-put-author-and-date-on-separate-lines.dpatch
Type: application/x-darcs-patch
Size: 34385 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20140722/c4b54d94/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/20140722/c4b54d94/attachment-0001.obj>


More information about the darcs-devel mailing list