diff options
Diffstat (limited to 'bzr.rb')
-rw-r--r-- | bzr.rb | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -21,6 +21,12 @@ class VCS end def VCS.commit comment - `#{BZRCMD} commit -m \"#{comment}\"` + tmpfile = "/tmp/commitcomment.#{rand(10000)}" + File.open(tmpfile,"w"){|f| + f<<comment + } + ret = `#{BZRCMD} commit -F #{tmpfile}` + File.delete(tmpfile) + ret end end |