projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3cc55
)
more idomatic perl
author
Joey Hess
<joey@gnu.kitenet.net>
Fri, 4 Dec 2009 18:13:41 +0000
(13:13 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Fri, 4 Dec 2009 18:13:41 +0000
(13:13 -0500)
IkiWiki/Plugin/darcs.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/darcs.pm
b/IkiWiki/Plugin/darcs.pm
index 2448673ac49169024aea08b0e8305d8a8622d414..0d68f27e5874b3331cbab851b1dafdfa06d21673 100644
(file)
--- a/
IkiWiki/Plugin/darcs.pm
+++ b/
IkiWiki/Plugin/darcs.pm
@@
-73,7
+73,7
@@
sub darcs_rev($) {
my $file = shift; # Relative to the repodir.
my $repodir = $config{srcdir};
- return ""
if (! file_in_vc($repodir, $file)
);
+ return ""
unless file_in_vc($repodir, $file
);
my $hash = darcs_info('hash', $repodir, $file);
return defined $hash ? $hash : "";
}