summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/repoman7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 72693929..1d6ef75d 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2158,7 +2158,12 @@ else:
mymsg.write("\n (Unsigned Manifest commit)")
mymsg.close()
- commit_cmd = [vcs]
+ commit_cmd = []
+ if options.pretend and vcs is None:
+ # substitute a bogus value for pretend output
+ commit_cmd.append("cvs")
+ else:
+ commit_cmd.append(vcs)
commit_cmd.extend(vcs_global_opts)
commit_cmd.append("commit")
commit_cmd.extend(vcs_local_opts)