Bug 382806 – "Registry should change bonsai tree path depending on cvsroot provided" [p=reed r=bear]

git-svn-id: svn://10.0.0.236/trunk@228626 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2007-06-23 10:05:49 +00:00
parent ffe4f656b5
commit 622b461683
2 changed files with 6 additions and 0 deletions

View File

@@ -28,6 +28,9 @@
filename = CGI.param('file');
dirname = CGI.param('dir');
cvsroot = CGI.param('cvsroot');
UNLESS cvsroot == '/cvsroot';
bonsai_root = bonsai_root _ '-' _ cvsroot.match('^/(.*)$').0;
END;
rev = CGI.param('rev');
prev_rev = CGI.param('prev_rev');
linked_text = CGI.param('linked_text');

View File

@@ -62,6 +62,9 @@
[% fixed_email FILTER html %]<br>
[% IF CGI.param('d') -%]
[% last_checkin_data = CGI.param('d').split('\|') -%]
[% UNLESS last_checkin_data.2 == '/cvsroot' %]
[% bonsai_root = bonsai_root _ '-' _ last_checkin_data.2.match('^/(.*)$').0 %]
[% END %]
[% FILTER null;
cgi = CGI.new('');
cgi.param('module', last_checkin_data.0);