# HG changeset patch # User Chris Cannam # Date 1307363572 -3600 # Node ID d3faf348b287d9f59f28b231fb3981ca9a38e74f # Parent 34214e593c67b94578aba93467d502144887625f Fix updates for tracking external Mercurial repos diff -r 34214e593c67 -r d3faf348b287 extra/soundsoftware/update-external-repo.sh --- a/extra/soundsoftware/update-external-repo.sh Mon Jun 06 13:32:07 2011 +0100 +++ b/extra/soundsoftware/update-external-repo.sh Mon Jun 06 13:32:52 2011 +0100 @@ -89,6 +89,9 @@ if [ -d "$project_repo_mirror/.hg" ]; then "$hg" --config extensions.convert= convert --datesort "$remote_repo" "$project_repo_mirror" && success=true + if [ -z "$success" ]; then + ( cd "$project_repo_mirror" && "$hg" pull "$remote_repo" ) && success=true + fi elif [ -d "$project_repo_mirror/.git" ]; then ( cd "$project_repo_mirror" && git pull "$remote_repo" master ) && success=true else