aboutsummaryrefslogtreecommitdiff
path: root/bzr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bzr.rb')
-rw-r--r--bzr.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/bzr.rb b/bzr.rb
index 83a4e4b..f2fe2db 100644
--- a/bzr.rb
+++ b/bzr.rb
@@ -62,4 +62,8 @@ class VCS
File.delete(tmpfile)
ret
end
+
+ def VCS.branch source, target
+ `#{BZRCMD} branch #{source} #{target}`
+ end
end