numerodix l33t
Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Sat Mar 15, 2003 2:47 pm Post subject: [perl/cvs problem] cvsweb: prune empty dirs |
|
|
I've installed cvsweb locally next to my cvs pserver. But what annoys me is that empty directories (which are not removed in cvs) are visible. I've been trying to hack the script to get rid of that but to no avail. I merged version 1.112 (was the newest in the portage tree).
Quote: | #cat cvsweb.cgi | grep "co" -n | less
1262: exec("cvs", "-d", "$cvsroot", "co", "-p", "$revopt", "$where"); |
I change this line in the script to
Quote: | exec("cvs", "-d", "$cvsroot", "co", "-p", "-P", "$revopt", "$where"); |
But there's no change. I make sure it's not a cached browser file too. I even comment out that file, reload and it still gives the same result, the cvs root with all files and dirs shown, also the empty (deleted) dirs.
I tried setting up a small scipt myself and it worked the way I wanted it to...
Quote: | exec("cvs", "co", "-P", ".");
|
Did not include empty dirs.
So I thought the only possible explanation (I can imagine) is that the checkout is being done in some temp dir on the filesystem and what I see is in fact a cached copy. But where on earth would I look for the cache then? |
|