diff options
author | Joey Hess <joey@kitenet.net> | 2010-06-23 19:32:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-06-23 19:32:53 -0400 |
commit | d8e4b51a41a9507584d56946d0eae0e5cef6d6f5 (patch) | |
tree | b0aeaa8fb5116d5869f8758792c17b94eb72fa83 /IkiWiki/Plugin/cvs.pm | |
parent | ecdfd1b8644bc926db008054ab6192e18351afed (diff) | |
download | ikiwiki-d8e4b51a41a9507584d56946d0eae0e5cef6d6f5.tar ikiwiki-d8e4b51a41a9507584d56946d0eae0e5cef6d6f5.tar.gz |
rcs_getctime and rcs_getmtime take relative filenames
There was some confusion about whether the filename was
relative to srcdir or not. Some test cases, and the bzr
plugin assumed it was relative to the srcdir. Most everything else
assumed it was absolute.
Changed it to relative, for consistency with the rest
of the rcs_ functions.
Diffstat (limited to 'IkiWiki/Plugin/cvs.pm')
-rw-r--r-- | IkiWiki/Plugin/cvs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/cvs.pm b/IkiWiki/Plugin/cvs.pm index c6687d780..1a432c052 100644 --- a/IkiWiki/Plugin/cvs.pm +++ b/IkiWiki/Plugin/cvs.pm @@ -459,7 +459,7 @@ sub rcs_diff ($) { } sub rcs_getctime ($) { - my $file=shift; + my $file=$config{srcdir}."/".shift(); my $cvs_log_infoline=qr/^date: (.+);\s+author/; |