• Steve McIntyre's avatar
    Cope with being called from directories other than the webwml root · 4ec44f54
    Steve McIntyre authored
    Added extra directory handling code to allow for this where it makes
    sense. This should now work for all public APIs, except:
    
     * cache_file()
     * cache_repo()
     * path_info()
     * get_topdir()
    
    The first two are almost internal anyway, and the last doesn't take
    any arguments to allow for anything to work *except* when the caller
    is somewhere within the webwml repo. path_info() is *hard* to change
    here, and all the callers I can find are already expecting to be in
    webwml anyway. I've added checks in each of these to at least complain
    clearly when expectations are not met.
    
    These changes might slow things down slightly due to repeated chdir()
    calls, but meh.
    
    Also added some extra tests for this in the vcs-test.pl script.
    4ec44f54
Name
Last commit
Last update
Perl Loading commit data...
albanian Loading commit data...
arabic Loading commit data...
armenian Loading commit data...
bulgarian Loading commit data...
catalan Loading commit data...
chinese Loading commit data...
croatian Loading commit data...
czech Loading commit data...
danish Loading commit data...
dutch Loading commit data...
english Loading commit data...
esperanto Loading commit data...
finnish Loading commit data...
french Loading commit data...
galician Loading commit data...
german Loading commit data...
greek Loading commit data...
hebrew Loading commit data...
hungarian Loading commit data...
indonesian Loading commit data...
italian Loading commit data...
japanese Loading commit data...
korean Loading commit data...
lithuanian Loading commit data...
norwegian Loading commit data...
persian Loading commit data...
polish Loading commit data...
portuguese Loading commit data...
romanian Loading commit data...
russian Loading commit data...
slovak Loading commit data...
slovene Loading commit data...
spanish Loading commit data...
swedish Loading commit data...
tamil Loading commit data...
turkish Loading commit data...
ukrainian Loading commit data...
vietnamese Loading commit data...
.gitignore Loading commit data...
.transignore Loading commit data...
.wmlrc Loading commit data...
Makefile Loading commit data...
Makefile.common Loading commit data...
README Loading commit data...
README_CSS.txt Loading commit data...
check_desc_trans.pl Loading commit data...
check_links.pl Loading commit data...
check_trans.pl Loading commit data...
copypage.pl Loading commit data...
cvs-revisions Loading commit data...
cvsup.py Loading commit data...
gendep.pl Loading commit data...
get-www-stats Loading commit data...
i18nwwwfix.pl Loading commit data...
karma.pl Loading commit data...
make_all.pl Loading commit data...
make_links.pl Loading commit data...
remove_stale.pl Loading commit data...
smart_change.pl Loading commit data...
stattrans.pl Loading commit data...
switch_to_git_translations.pl Loading commit data...
touch_files.pl Loading commit data...
touch_translations.pl Loading commit data...
vcs-test.pl Loading commit data...