]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
authorJoey Hess <joey@kitenet.net>
Sat, 23 Oct 2010 20:33:29 +0000 (16:33 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 23 Oct 2010 20:33:29 +0000 (16:33 -0400)
IkiWiki/Plugin/git.pm
doc/bugs/web_reversion_on_ikiwiki.info.mdwn

index 892b711d8e871b3a24ade2f5e13287d88f06140c..f8e16859bed71d28d3dbd6b5ee3a5877782450a2 100644 (file)
@@ -848,8 +848,9 @@ sub rcs_preprevert ($) {
        # in order to see all changes.
        my ($subdir, $rootdir) = git_find_root();
        $git_dir=$rootdir;
-       return git_parse_changes(git_commit_info($sha1, 1));
+       my @ret=git_parse_changes(git_commit_info($sha1, 1));
        $git_dir=undef;
+       return @ret;
 }
 
 sub rcs_revert ($) {
index c8563b1b5bd2ba95cd762a46da0d24f646d1f271..19a073da2ed8e0625fe7507ab6f102d0bbcdc62f 100644 (file)
@@ -1,5 +1,12 @@
-I created [[sandbox/revert me]] and then tried the revert button on [[recentchanges]], but I was not allowed to revert it. The specific error was
+I created [[sandbox/revert me]] and then tried the revert button on
+[[recentchanges]], but I was not allowed to revert it. The specific error
+was
 
     Error: you are not allowed to change sandbox/revert_me.mdwn
 
-I've just tried reading through the revert code, and I haven't figured out what permission I am lacking.  Perhaps the error message could be a little clearer on that. The error might have been thrown by git_parse_changes in git.pm or check_canchange in IkiWiki.pm, via IkiWiki::Receive. -- Jon
+I've just tried reading through the revert code, and I haven't figured out
+what permission I am lacking.  Perhaps the error message could be a little
+clearer on that. The error might have been thrown by git_parse_changes in
+git.pm or check_canchange in IkiWiki.pm, via IkiWiki::Receive. -- Jon
+
+[[fixed|done]] --[[Joey]]