diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-07-22 11:50:08 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-07-22 11:50:08 +0200 |
commit | 8152f611a91d8918568c8d90e2478a7611e1a33b (patch) | |
tree | c3adafe5d088c94e6ee1240f2591add4956f43f3 | |
parent | f93f4abf2da5b5d60b217da82e26d42456f894cb (diff) |
provide remove command
-rw-r--r-- | bzr.rb | 4 | ||||
-rw-r--r-- | git.rb | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -26,6 +26,10 @@ class VCS `#{BZRCMD} init` end + def VCS.rm file + `#{BZRCMD} rm #{file}` + end + def VCS.add file `#{BZRCMD} add #{file}` end @@ -26,6 +26,10 @@ class VCS `#{GITCMD} init` end + def VCS.rm file + `#{GITCMD} rm #{file}` + end + def VCS.add file `#{GITCMD} add #{file}` end |