# HG changeset patch # User William Roberts # Date 1255965956 -3600 # Node ID 8b3aad972b66b2d9e05e028b2ddc59522a8a503a # Parent 2193253638157ec46566dcfa9d060ded112d627a Fix Bug 489 by moving the "--rev xxx" options to the correct place in the command line diff -r 219325363815 -r 8b3aad972b66 clone_packages/clone_all_packages.pl --- a/clone_packages/clone_all_packages.pl Thu Oct 15 16:49:47 2009 +0100 +++ b/clone_packages/clone_all_packages.pl Mon Oct 19 16:25:56 2009 +0100 @@ -247,7 +247,7 @@ # The repository already exists, so just do an update print "Updating $destdir from $package...\n"; - $ret = do_system("hg", "pull", @pull_options, "-R", $path, $repo_url, @rev_options); + $ret = do_system("hg", "pull", @pull_options, @rev_options, "-R", $path, $repo_url); if ($ret == 0 && ! $mirror) { $ret = do_system("hg", "update", "-R", $path, @rev_options) @@ -258,7 +258,7 @@ # Clone the repository print "Cloning $destdir from $package...\n"; - $ret = do_system("hg", "clone", @clone_options, $repo_url, $path, @rev_options); + $ret = do_system("hg", "clone", @clone_options, @rev_options, $repo_url, $path); } $ret = $ret >> 8; # extract the exit status