Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[perl/cvs problem] cvsweb: prune empty dirs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Sat Mar 15, 2003 2:47 pm    Post subject: [perl/cvs problem] cvsweb: prune empty dirs Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum