commit only the changed file
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 30 Jan 2008 00:44:26 +0000 (19:44 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 30 Jan 2008 00:44:26 +0000 (19:44 -0500)
IkiWiki/Rcs/bazaar.pm

index 8ca4ec07ac660565f06f17d7258280abdc4c6896..528767099dfe6c39a7e2f86a4598a04a4b64730b 100644 (file)
@@ -71,8 +71,8 @@ sub rcs_commit ($$$;$$) { #{{{
                $message = "no message given";
        }
 
-       my @cmdline = ("bzr", "commit", 
-                      "-m", $message, "--author", $user, $config{srcdir});
+       my @cmdline = ("bzr", "commit", "-m", $message, "--author", $user,
+                      $config{srcdir}."/".$file);
        if (system(@cmdline) != 0) {
                warn "'@cmdline' failed: $!";
        }