diff options
author | Justin Bogner <justin@justinbogner.com> | 2010-02-11 10:11:22 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2010-02-11 10:11:22 +0100 |
commit | 70ed66993b9a45fbd0b0cf7c8f21fd6be0d66062 (patch) | |
tree | a417bf2d9beed3330c8fb94550a7a04451c331f9 /exporters | |
parent | 09b9f451fd5fcaaa4ab2d6dc56c4f46460839a48 (diff) | |
download | bzr-fastimport-70ed66993b9a45fbd0b0cf7c8f21fd6be0d66062.tar.gz |
Don't bail for http://path/to/repo darcs remotes
Diffstat (limited to 'exporters')
-rwxr-xr-x | exporters/darcs/git-darcs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/exporters/darcs/git-darcs b/exporters/darcs/git-darcs index eb70338..3e7c157 100755 --- a/exporters/darcs/git-darcs +++ b/exporters/darcs/git-darcs @@ -42,7 +42,8 @@ add() echo "There is already a darcs repo with that name" exit fi - if [ ! -d $location/_darcs ]; then + repo=$location/_darcs + if [ ! -d $repo ] && ! wget --quiet --spider $repo; then echo "Remote is not a darcs repository" exit fi |