aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/svn.pm
Commit message (Expand)AuthorAge
* URI escape filename when generating the diffurl.•••ikiwiki source files can contain at least one character that needs to be escaped in an url: + Joey Hess2012-03-13
* svn: Support subversion 1.7, which does not have .svn in each subdirectory.•••Involved dropping some checks for .svn which didn't add anything, since if svn is enabled and you point it at a non-svn checkout, you get both pieces. The tricky part is add and rename, in both cases the new file can be in some subdirectory that is not added to svn. For add, turns out svn has a --parents that will deal with this by adding the intermediate directories to svn as well. For rename though, --parents fails if the directories exist but are not yet in svn -- which is exactly the case, since ikiwiki makes them by calling prep_writefile. So instead, svn add the parent directory, recursively. tldr; svn made a reasonable change in dropping the .svn directories from everywhere, but the semantics of other svn commands, particularly their pickiness about whether parent directories are in svn or not, means that without the easy crutch of checking for those .svn directories, code has to tiptoe around svn to avoid pissing it off. Joey Hess2011-10-12
* Add a second parameter to the rcs_diff hook, and avoid bloating memory readin...Joey Hess2010-12-29
* rcs_getctime and rcs_getmtime take relative filenames•••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. Joey Hess2010-06-23
* rcs_commit and rcs_commit_staged api changes•••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. Joey Hess2010-06-23
* API: rcs_commit and rcs_commit_staged are passed a new parameter•••that may contain the username component of the email address of the user making the commit. Joey Hess2010-06-23
* squelch warningJoey Hess2010-04-16
* implement rcs_getmtime for svn•••This is a slow implementation; it runs svn log once per file still, rather than running svn log once on the whole srcdir. I did it this way because in my experience, svn log, run on a directory, does not always list every change to files inside that directory. I don't know why, and I use svn as little as possible these days. Joey Hess2010-04-16
* --gettime revamp•••* 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. Joey Hess2010-04-16
* Group related plugins into sections in the setup file, and drop unused rcs pl...Joey Hess2010-02-11
* svn: Fix rcs_rename to properly scope call to dirname.Joey Hess2009-07-08
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
* add plugin safe/rebuild info (part 3 of 3)Joey Hess2008-08-03
* show unsafe options (RO) by default•••Small data leak, but only to admins, and I think it's worth it to see the stuff that cannot be configured. Joey Hess2008-08-02
* rcs plugin loading reorg•••Move rcs plugin load to loadplugins; move duplicate rcs detection logic out of individual plugins and into loadplugins. Avoids checkconfig failing when run twice. Joey Hess2008-08-01
* add guard against enabling multiple rcs pluginsJoey Hess2008-07-30
* avoid clobbering example diffurlJoey Hess2008-07-27
* finish with rcs plugin conversionJoey Hess2008-07-26
* Version control backends promoted to first-class pluginsJoey Hess2008-07-26