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 [EMAIL PROTECTED]
cvslink.patch
Description: Binary data
_______________________________________________ Bug-global mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-global
