bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Improved viewcvs/cvsweb link with modules


From: Tobias Polzin
Subject: Improved viewcvs/cvsweb link with modules
Date: Wed, 09 Aug 2006 18:08:22 +0200

First of all: Thanks for global! 

My feature suggestion:
In our source tree we make use of cvs-modules: ROOT/modules/DIR1 does not have 
the viewcvs URL with ROOT/modules/DIR1/ but only with DIR1, as it es a seperate 
module.

The correct link for viewcvs can be figured out easily (bash-pseudocode):

viewcvs ()
{
    file=$1;
    dir=$(dirname $file);
    if [[ -d $dir/CVS ]]; then
        echo $VIEWCVS_BASE_URL/`cat $dir/CVS/Repository`/$(basename $file);
    else
        echo No CVS in $dir;
    fi
}

Do you think there is some possibility that this improved creation of 
viewcvs-URLs will go into the htags source?

Regards,
 Tobias Polzin

P.S: Funnily I got to know it, as I looked at google´s gtags and saw your 
posting :-).
-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail




reply via email to

[Prev in Thread] Current Thread [Next in Thread]