X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/02bf66d800ed50fb9bbf2f6cfce95139082a51e3..c7d6dba6db3247f088d64694f4c2f310e1701219:/doc/todo/Mercurial_backend_update.mdwn diff --git a/doc/todo/Mercurial_backend_update.mdwn b/doc/todo/Mercurial_backend_update.mdwn index 717db61b5..0fdaf16e5 100644 --- a/doc/todo/Mercurial_backend_update.mdwn +++ b/doc/todo/Mercurial_backend_update.mdwn @@ -2,7 +2,13 @@ I submitted some changes that added 5 "Yes"es and 2 "Fast"s to Mercurial at [[/r To do this, a more basic rewrite would simplify things. I inline the complete file below with comments. I don't expect anyone to take the time to read it all at once, but I'd be glad if those interested in the Mercurial backend could do some beta testing. -I break out my comments from the code to make them more readable. I comment all the changes as compared to current upstream. +* [This specific revision at my hg repo](http://46.239.104.5:81/hg/program/ikiwiki/file/4994ba5e36fa/Plugin/mercurial.pm) ([raw version](http://46.239.104.5:81/hg/program/ikiwiki/raw-file/4994ba5e36fa/Plugin/mercurial.pm)). + +* [My default branch](http://510x.se/hg/program/ikiwiki/file/default/Plugin/mercurial.pm) (where updates will be made, will mention here if anything happens) ([raw version](http://510x.se/hg/program/ikiwiki/raw-file/default/Plugin/mercurial.pm)). + +(I've stripped the `hgrc`-generation from the linked versions, so it should work to just drop them on top of the old `mercurial.pm`). + +I break out my comments from the code to make them more readable. I comment all the changes as compared to current upstream. --[[Daniel Andersson]] --- @@ -26,7 +32,7 @@ Message to skip in recent changes my $dummy_commit_msg = 'dummy commit'; -*TODO:* $hg_dir not really implemented yet, until a srcdir/repository distinction is +*TODO:* `$hg_dir` not really implemented yet, until a srcdir/repository distinction is made as for e.g. Git. Used in `rcs_receive`, and for attachments in `hg_parse_changes`. See comments in those places, though. my $hg_dir=undef; @@ -201,7 +207,7 @@ This function restores the diff. } } -This makes online diffing possible. A similar approach as in `git.pm`, which is [http://source.ikiwiki.branchable.com/?p=source.git;a=blob;f=IkiWiki/Plugin/git.pm;h=cf7fbe9b7c43ee53180612d0411e6202074fb9e0;hb=refs/heads/master#l211](discussed to some length in a comment there), is taken. +This makes online diffing possible. A similar approach as in `git.pm`, which is [discussed to some length in a comment there](http://source.ikiwiki.branchable.com/?p=source.git;a=blob;f=IkiWiki/Plugin/git.pm;h=cf7fbe9b7c43ee53180612d0411e6202074fb9e0;hb=refs/heads/master#l211), is taken. sub merge_past ($$$) { my ($sha1, $file, $message) = @_;