2 # Stubs for no revision control.
11 # Update working directory to current version.
12 # (May be more complex for distributed RCS.)
15 sub rcs_prepedit ($) {
16 # Prepares to edit a file under revision control. Returns a token
17 # that must be passed into rcs_commit when the file is ready
19 # The file is relative to the srcdir.
23 sub rcs_commit ($$$;$$) {
24 # Tries to commit the page; returns undef on _success_ and
25 # a version of the page with the rcs's conflict markers on failure.
26 # The file is relative to the srcdir.
27 return undef # success
31 # Add a file. The filename is relative to the root of the srcdir.
32 # Note that this should not check the new file in, it should only
33 # prepare for it to be checked in when rcs_commit is called.
36 sub rcs_recentchanges ($) {
37 # Examine the RCS history and generate a list of recent changes.
38 # The data structure returned for each change is:
40 # rev => # the RCSs id for this commit
41 # user => # name of user who made the change,
42 # committype => # either "web" or the name of the rcs,
43 # when => # time when the change was made,
45 # { line => "commit message line" },
46 # { line => "commit message line" },
51 # page => # name of page changed,
52 # diffurl => # optional url to a diff showing
55 # # repeat for each page changed in this commit,
61 # Optional, used to get diffs for recentchanges.
62 # The parameter is the rev from rcs_recentchanges.
63 # Should return a list of lines of the diff (including \n) in list
64 # context, and the whole diff in scalar context.
67 sub rcs_getctime ($) {
68 # Optional, used to get the page creation time from the RCS.
69 error gettext("getctime not implemented");