Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2017-04-03

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:09 mizu_no_oto joined #darcs
01:26 Riastradh joined #darcs
01:46 mizu_no_oto joined #darcs
03:24 mizu_no_oto joined #darcs
03:45 leg joined #darcs
04:09 Mysterious_Light joined #darcs
04:29 leg joined #darcs
05:17 Mysterious_Light joined #darcs
05:51 bfrk joined #darcs
05:56 ThomasLocke joined #darcs
06:03 Mysterious_Light Hello! Sometimes I make patches for inner purposes, marking them with "[stash]" prefix. When the work is done, I want to collapse them to a single patch. The way I found out is to create a clone, unpull all "[stash]" patches, copy the working directory of the origin repo to the clone, record it, push to the origin and remove the clone. Is there any simplier way to make a composition of patches as it is a fundamental operation of the underlying theory?
06:19 Heffalump Mysterious_Light: if you don't have any other local changes, just unrecord them all, then 'darcs record' to make the new one
06:19 Heffalump I think it'd be nice to have some cleaner UI around it, but I don't find the workaround too painful
06:20 Heffalump composition of patches isn't completely trivial though, you have to decide about simplifying the composed patches, e.g. if you change line 1 from "a" to "b" and then from "b" to "c", is that two changes or one in a composed patch?
07:11 Mysterious_Light Heffalump: A composition is a single patch, i.e. one cannot reveal "b" line in your example. It is the same as recording a patch when you replace "a" with "b" and then (without `darcs rec`) replace "b" with "c" — darcs just can't reveal you've used "b".
07:16 Mysterious_Light "stashed" patches are shuffled with other patches I've pulled or recorded. The latter are those I don't want to compose with others. It's the case when I want darcs to know about intermediate patches.
08:11 gal_bolle joined #darcs
08:36 Mysterious_Light joined #darcs
08:52 burp joined #darcs
10:18 bfrk joined #darcs
10:27 Mysterious_Light joined #darcs
11:22 Heffalump Mysterious_Light: so have you tried just unrecording all the stash patches locally and then re-recording a single patch?
12:40 leg joined #darcs
13:27 gh_ joined #darcs
13:59 gh_ joined #darcs
14:51 Guest59698 joined #darcs
16:56 Riastradh joined #darcs
17:02 bfrk joined #darcs
22:57 mizu_no_oto joined #darcs

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary