CVS operations generally need to be within CVS checkouts, so these chdir()
authorAmitai Schlair <schmonz@magnetic-babysitter.(none)>
Thu, 10 Sep 2009 04:51:34 +0000 (00:51 -0400)
committerAmitai Schlair <schmonz@magnetic-babysitter.(none)>
Thu, 10 Sep 2009 04:51:34 +0000 (00:51 -0400)
commit98553d15375a373bd769b82cea24b48ee9613662
tree46ee316134c976e0cc393fbf3981a8f149429025
parent12bbc6c919ca5333a69715e5909263c4e9e4e514
CVS operations generally need to be within CVS checkouts, so these chdir()
calls are warranted. They shouldn't modify the caller's working directory,
though. Use File::chdir to keep the scope of the changes subroutine-local.
The tests now pass without resetting the working directory.
IkiWiki/Plugin/cvs.pm
t/cvs.t