##// END OF EJS Templates
scm: bazaar: add "scm_cmd_no_raise" method for "bzr diff"....
Toshi MARUYAMA -
r5800:f4ba1a708202
parent child
Show More
@@ -281,6 +281,14 module Redmine
281 end
281 end
282 private :scm_cmd
282 private :scm_cmd
283
283
284 def scm_cmd_no_raise(*args, &block)
285 full_args = [BZR_BIN]
286 full_args += args
287 ret = shellout(full_args.map { |e| shell_quote e.to_s }.join(' '), &block)
288 ret
289 end
290 private :scm_cmd_no_raise
291
284 def bzr_target(path)
292 def bzr_target(path)
285 target(path, false)
293 target(path, false)
286 end
294 end
General Comments 0
You need to be logged in to leave comments. Login now