]> scripts.mit.edu Git - www/ikiwiki.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 6 Dec 2009 19:53:16 +0000 (14:53 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 6 Dec 2009 19:53:16 +0000 (14:53 -0500)
IkiWiki/Plugin/darcs.pm
debian/control

index 2448673ac49169024aea08b0e8305d8a8622d414..0d68f27e5874b3331cbab851b1dafdfa06d21673 100644 (file)
@@ -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 : "";
 }
index 3e2fdc537a220e431e04fea02b95c58f99647c4f..172e1b23db3bc217d4967ded3a36ffe6adcf87fb 100644 (file)
@@ -23,7 +23,7 @@ Depends: ${misc:Depends}, ${perl:Depends}, ${python:Depends},
   libhtml-parser-perl, liburi-perl
 Recommends: gcc | c-compiler, 
   libc6-dev | libc-dev,
-  subversion | git-core (>= 1:1.5.0) | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38),
+  subversion | git-core (>= 1:1.5.0) | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38) | darcs,
   libxml-simple-perl, libnet-openid-consumer-perl,
   liblwpx-paranoidagent-perl, libtimedate-perl,
   libcgi-formbuilder-perl (>= 3.05), libcgi-session-perl (>= 4.14-1),