diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-22 16:14:33 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-22 16:14:33 -0400 |
commit | cbddb5a4b8e0e2fb63886ad9d1cf8a087cdb83b1 (patch) | |
tree | fab8316d385e89d959189cc199e79457dcb90486 /IkiWiki/Rcs/bzr.pm | |
parent | cf9620074acb1309118f08094229ce21d7352ed0 (diff) | |
download | ikiwiki-cbddb5a4b8e0e2fb63886ad9d1cf8a087cdb83b1.tar ikiwiki-cbddb5a4b8e0e2fb63886ad9d1cf8a087cdb83b1.tar.gz |
add rcs_commit_staged and rcs_rename
Implemented for git and svn so far.
Note that rcs_commit_staged does assume that the rcs has the ability to
"stage" multiple changes for a later commit. Support for this varies, but
all we really care about is staging removals and renames, which, AFAIK, all
modern rcs's support.
Diffstat (limited to 'IkiWiki/Rcs/bzr.pm')
-rw-r--r-- | IkiWiki/Rcs/bzr.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/IkiWiki/Rcs/bzr.pm b/IkiWiki/Rcs/bzr.pm index ca60190ea..e414e85d2 100644 --- a/IkiWiki/Rcs/bzr.pm +++ b/IkiWiki/Rcs/bzr.pm @@ -80,6 +80,14 @@ sub rcs_commit ($$$;$$) { #{{{ return undef; # success } #}}} +sub rcs_commit_staged ($$$) { + # Commits all staged changes. Changes can be staged using rcs_add, + # rcs_remove, and rcs_rename. + my ($message, $user, $ipaddr)=@_; + + error("rcs_commit_staged not implemented for bzr"); # TODO +} + sub rcs_add ($) { # {{{ my ($file) = @_; @@ -95,6 +103,12 @@ sub rcs_remove ($) { # {{{ error("rcs_remove not implemented for bzr"); # TODO } #}}} +sub rcs_rename ($$) { # {{{ + my ($src, $dest) = @_; + + error("rcs_rename not implemented for bzr"); # TODO +} #}}} + sub rcs_recentchanges ($) { #{{{ my ($num) = @_; |