Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-03-02

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

All times shown according to UTC.

Time Nick Message
02:20 mizu_no_oto joined #darcs
02:46 ilbot3 joined #darcs
02:46 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.5 is out http://darcs.net/Releases/2.8
04:13 AnxiousGarlic joined #darcs
04:13 AnxiousGarlic left #darcs
04:58 mizu_no_oto joined #darcs
05:39 carter_ joined #darcs
06:12 mizu_no_oto joined #darcs
06:49 lambdabot joined #darcs
14:22 mizu_no_oto joined #darcs
15:06 vikraman joined #darcs
15:07 bishboria_ joined #darcs
15:14 vikraman joined #darcs
15:27 mizu_no_oto joined #darcs
15:52 gh_ joined #darcs
17:34 alexei_ joined #darcs
17:40 wferi joined #darcs
17:41 wferi Hi! Is there a way to undo darcs unrecord --all?
17:47 wferi the patches are present in _darcs/patches, btw
17:47 wferi at least is seems so
18:07 Heffalump is there anything in _darcs/inventories ?
18:07 wferi yes, two files with ugly names
18:08 Heffalump has unrecord --all gone all the way back to the start of time, or did some stuff survive?
18:08 wferi wait, wrong repo. lots of files with ugly names.
18:08 wferi nothing survived, no changes left
18:09 wferi it's no catastrophe situation, I'm told there are backups on a tape somewhere
18:09 Heffalump tthat's probably easiest if you can get them :-)
18:10 Heffalump otherwise, one of those inventory files has most of what you need, probably up to the last tag in the repo, but you need to identify which file
18:10 wferi hopefully. OK, I'll start the process then.
18:10 wferi the latest modified, perhaps?
18:10 Heffalump if you do want to recover this repo, first step would be to tar/save everything you have now so you can experiment on a copy
18:10 Heffalump wferi: yes, quite likely
18:10 wferi but there're no tags in this repo, I'm pretty sure
18:11 wferi yeah, I made a copy already
18:11 wferi meanwhile I found http://lists.osuosl.org/pipermail/darcs-users/2006-April/009919.html
18:12 Heffalump (about to disappear underground, back in a while)
18:12 wferi isn't a walk in the park, but probably doable, especially if I can simply recover the inventory instead
18:12 Heffalump I'm a bit skeptical about that post because it doesn't try to get the patches in the right order
18:13 Heffalump the most recent of those inventories should be quite close to what you need, but you need to make a _darcs/hashed_inventory that points to it
18:13 Heffalump you can look at one from another repo to get a rough clue about the format
18:14 Heffalump and you may/will probably find some patches are missing at that point, which need to be added to hashed_inventory by hand
18:14 Heffalump plus you need a pristine hash
18:18 wferi ok. looks good enough. here's what I did:
18:19 wferi found the freshest file in _darcs/pristine.hashed, and used its name after pristine: in the first line of hashed_inventory
18:20 wferi then found the freshest inventory, and zcat it >>hashed_inventory
18:20 wferi rm patches/pending
18:20 wferi and darcs wh looks quite reasonable now
18:21 wferi now, some consistency checking is in order, I guess
18:21 wferi darcs checks reports a consistent repo
18:21 wferi am I good?
18:22 wferi what about patches/pending_tentative? should I delete that, too?
18:29 wferi behavior seems quite normal
18:36 Heffalump pending_tentative is just a temporary thing during a darcs execution, has no value or impact afterwards (except for data recovery)
18:36 Heffalump if darcs check is happy, and your repo is as in sync with working as it was before unrec --all, I think you're good
18:36 Heffalump I would probably do a darcs get to a fresh repo and keep working from there if possible, to smoke out any other possible funniness
18:52 favonia joined #darcs
18:58 wferi Thanks for the support, Heffalump, I'll do so.
20:01 alexei_ joined #darcs
20:38 favonia joined #darcs
20:38 gh_ joined #darcs
20:56 gh_ Heffalump, nice patch :)
21:08 mizu_no_oto joined #darcs
21:21 alexei_ joined #darcs
21:24 gh_ joined #darcs
21:40 wferi joined #darcs
21:56 mizu_no_oto joined #darcs

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