Re: Download raw source file from http://svn.gnome.org/viewvc/?



On Mon, Feb 25, 2008 at 12:29 PM, Olav Vitters <olav bkor dhs org> wrote:
> On Sun, Feb 24, 2008 at 07:15:22PM -0800, Sam Steingold wrote:
>  > so, I will have to install an 8MB package just to get a single file?!
>  > I need http://svn.gtk.org/viewvc/gtk%2B/trunk/m4macros/gtk-2.0.m4
>  > - and I do not want to install svn just to get it.
>
>  Use either your current browser, wget or curl, those are smaller.

The content provided currently at the website includes HTML
beatufication (such as colours) which raises questions on the fidelity
of the file.

I think the easiest alternative is to use "svn export":
1. If you want to grab
http://svn.gtk.org/viewvc/gtk%2B/trunk/m4macros/gtk-2.0.m4
   you need to convert this to
svn://svn.gtk.org/svn/gtk%2B/trunk/m4macros/gtk-2.0.m4
2. Then type

$ svn export svn://svn.gtk.org/svn/gtk%2B/trunk/m4macros/gtk-2.0.m4
A    gtk-2.0.m4
Export complete.
$ _

and you are done.

If this is really useful, it might be good to create an "svnget"
script that autoconverts/grabs the URL.

Simos

>  --
>  Regards,
>  Olav
>
>
> _______________________________________________
>  Gnome-infrastructure mailing list
>  Gnome-infrastructure gnome org
>  http://mail.gnome.org/mailman/listinfo/gnome-infrastructure
>


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