Lines Matching defs:fail
53 function fail {
90 [[ $rev_warning = "n" ]] || fail \
101 fail "workspace command not found; please check PATH."
141 fail "$hg_ws is not a Mercurial workspace."
146 [[ -d "$CODEMGR_WS" ]] || fail "$CODEMGR_WS does not exist."
151 fail "$CODEMGR_WS is not a Teamware workspace or does not have a parent."
152 [[ -d "$codemgr_parent" ]] || fail "parent ($codemgr_parent) doesn't exist."
196 fail "wx2hg will only migrate checked-in files;" \
210 fail "hg update $hg_rev failed for $hg_ws"
229 fail "When using an existing Mercurial workspace with\n" \
239 fail "$codemgr_parent is not recognized as a gate;" \
287 [[ -f "$old" ]] || fail "can't rename: $old doesn't exist."
288 [[ ! -f "$new" ]] || fail "can't rename: $new already exists."
292 [[ -d "$dir" ]] || mkdir -p "$dir" || fail "mkdir failed"
298 fail "rename failed."
305 ( cd $old_repo; hg rm $old_file ) || fail "hg rm failed"
306 ( cd $new_repo; hg add $new_file ) || fail "hg add failed"
371 [[ ! -f "$hg_ws/$f" ]] || fail "$f already exists in $hg_ws."
374 [[ -d "$dir" ]] || mkdir -p "$dir" || fail "mkdir failed"
375 cp "$childfile" "$hg_ws/$f" || fail "copy failed"
377 (cd "$dir" && hg add "$base") || fail "hg add failed."
385 [[ $? -eq 0 ]] || fail "$f: patch failed."
390 fail "For file:\n\n\t$f\n\nthe teamware parent:" \