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/tla.pm | |
parent | cf9620074acb1309118f08094229ce21d7352ed0 (diff) |
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/tla.pm')
-rw-r--r-- | IkiWiki/Rcs/tla.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/IkiWiki/Rcs/tla.pm b/IkiWiki/Rcs/tla.pm index 29dbd092a..4232e1fe8 100644 --- a/IkiWiki/Rcs/tla.pm +++ b/IkiWiki/Rcs/tla.pm @@ -78,6 +78,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 tla"); # TODO +} + sub rcs_add ($) { #{{{ my $file=shift; @@ -94,6 +102,12 @@ sub rcs_remove ($) { # {{{ error("rcs_remove not implemented for tla"); # TODO } #}}} +sub rcs_rename ($$) { # {{{a + my ($src, $dest) = @_; + + error("rcs_rename not implemented for tla"); # TODO +} #}}} + sub rcs_recentchanges ($) { my $num=shift; my @ret; |