summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/mercurial.pm
AgeCommit message (Collapse)Author
2010-12-29Add a second parameter to the rcs_diff hook, and avoid bloating memory ↵Joey Hess
reading in enormous commits.
2010-06-23rcs_getctime and rcs_getmtime take relative filenamesJoey Hess
There was some confusion about whether the filename was relative to srcdir or not. Some test cases, and the bzr plugin assumed it was relative to the srcdir. Most everything else assumed it was absolute. Changed it to relative, for consistency with the rest of the rcs_ functions.
2010-06-23rcs_commit and rcs_commit_staged api changesJoey Hess
Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though.
2010-06-23API: rcs_commit and rcs_commit_staged are passed a new parameterJoey Hess
that may contain the username component of the email address of the user making the commit.
2010-06-18mercurial: Fix buggy getctime code.Joey Hess
The file passed to rcs_getctime is already absolute, and it was trying to stick the srcdir on the front. Also, eliminated potentially unsafe shelling.
2010-04-16--gettime revampJoey Hess
* Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
2010-02-11Group related plugins into sections in the setup file, and drop unused rcs ↵Joey Hess
plugins from the setup file.
2009-03-20fix rcs_getctime to return first, not last, change timeJoey Hess
This was being buggy and returning the file's last change time, not its creation time.
2009-01-17use short names in comittypeJoey Hess
Use mtn for monontone and hg for mercurial. The long names cause ugly formatting in recentchanges, which has CSS that only allows a few characters for the commit type column.
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-08-03add plugin safe/rebuild info (part 1 of 2)Joey Hess
too many plugins.. brain exploding..
2008-08-02show unsafe options (RO) by defaultJoey Hess
Small data leak, but only to admins, and I think it's worth it to see the stuff that cannot be configured.
2008-08-01rcs plugin loading reorgJoey Hess
Move rcs plugin load to loadplugins; move duplicate rcs detection logic out of individual plugins and into loadplugins. Avoids checkconfig failing when run twice.
2008-07-30add guard against enabling multiple rcs pluginsJoey Hess
2008-07-27avoid clobbering example diffurlJoey Hess
2008-07-26finish with rcs plugin conversionJoey Hess
2008-07-26Version control backends promoted to first-class pluginsJoey Hess