[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improved viewcvs/cvsweb link with modules
From: |
Hideki IWAMOTO |
Subject: |
Re: Improved viewcvs/cvsweb link with modules |
Date: |
Fri, 25 Aug 2006 00:43:19 +0900 |
On Fri, 11 Aug 2006 12:20:49 +0900, Shigio YAMAGUCHI wrote...
> > 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?
>
> I agree with you.
> When CVS directory exists, htags should follow your way.
I made a patch for this function.
When $dir/CVS/Repository does not exist, this is compatible with previous
version.
Example
(cvs co global && cd global && htags -g
--cvsweb=http://cvs.savannah.gnu.org/viewcvs/ --cvsweb-cvsroot=global)
(tar zxf global-5.2.tar.gz && cd global-5.2 && htags -g
--cvsweb=http://cvs.savannah.gnu.org/viewcvs/global/ --cvsweb-cvsroot=global)
----
Hideki IWAMOTO address@hidden
cvslink.patch
Description: Binary data
- Improved viewcvs/cvsweb link with modules, Tobias Polzin, 2006/08/10
- Re: Improved viewcvs/cvsweb link with modules, Shigio YAMAGUCHI, 2006/08/10
- Re: Improved viewcvs/cvsweb link with modules,
Hideki IWAMOTO <=
- Re: Improved viewcvs/cvsweb link with modules, Hideki IWAMOTO, 2006/08/25
- Re: Improved viewcvs/cvsweb link with modules, Shigio YAMAGUCHI, 2006/08/25
- Re: Improved viewcvs/cvsweb link with modules, Hideki IWAMOTO, 2006/08/26
- Re: Improved viewcvs/cvsweb link with modules, Hideki IWAMOTO, 2006/08/26
- Re: Improved viewcvs/cvsweb link with modules, Shigio YAMAGUCHI, 2006/08/27
- Re: Improved viewcvs/cvsweb link with modules, Hideki IWAMOTO, 2006/08/27