to Fabian Groffen <grobian@g.o> for reporting. (trunk r12426)
svn path=/main/branches/2.1.6/; revision=12479
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)