--- a/contrib/hgsh/hgsh.c Mon Aug 06 20:25:50 2007 +0200
+++ b/contrib/hgsh/hgsh.c Tue Aug 07 10:24:33 2007 +0200
@@ -249,7 +249,7 @@
hg_serve,
};
-
+
/*
* attempt to verify that a directory is really a hg repo, by testing
* for the existence of a subdirectory.
@@ -342,13 +342,13 @@
if (cmd != hg_init) {
int valid;
-
+
valid = validate_repo(repo_root, "data");
if (valid == -1) {
goto badargs;
}
-
+
if (valid == 0) {
valid = validate_repo(repo_root, "store");
@@ -356,7 +356,7 @@
goto badargs;
}
}
-
+
if (valid == 0) {
perror(repo);
exit(EX_DATAERR);
@@ -385,7 +385,7 @@
nargv[i++] = repo;
break;
}
-
+
nargv[i] = NULL;
if (debug) {