Recent

Author Topic: ViewVC  (Read 3345 times)

rigel

  • New Member
  • *
  • Posts: 29
ViewVC
« on: September 18, 2014, 03:12:57 pm »
How to download files from svn in ViewVC? I want to download files from here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=46244
Files saved as html not original files. How can I  download original files?

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: ViewVC
« Reply #1 on: September 18, 2014, 04:12:37 pm »
Right-click on file and "Save destination"?

But please be aware that these file belong to the trunk version of Lazarus/TAChart. Therefore you also have to download the modified TAMultiseries.pas.

That entire thing would be much easier if you would use svn.

rigel

  • New Member
  • *
  • Posts: 29
Re: ViewVC
« Reply #2 on: September 19, 2014, 07:31:25 am »
"Right-click on file and "Save destination"?"
I was doing this but as I wrote it save like html file. For example main.htm and changing entire file making it like html page. In ViewVC has option to save all files like archive but option is not activated or I can see where it is.

I prefer to work with stable versions. For that reason I don't use svn.

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: ViewVC
« Reply #3 on: September 19, 2014, 07:46:21 am »
It seems to me that the server was changed*, which means File Download is in its default configuration: disabled. Someone has to re-enable it.

*The IP number is different.

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: ViewVC
« Reply #4 on: September 19, 2014, 08:00:21 pm »
I see now. Firefox offered to download a pas file, and I thought it is one.

A quick fix, if you don't want to use svn: (works with Firefox, don't know about the other browsers):
  • LEFT-click on the file to show the source code in a browser tab.
  • Select the entire source text by dragging the mouse from start to end. Make sure to include the line numbers.
  • Ctrl+C to copy the selected text to the clipboard.
  • Open Lazarus, select "File" / "New Unit".
  • Paste the copied text into the new unit window.
  • Hold ALT down while you drag the mouse across the line numbers - ALT means "Column selection mode"!
  • Then delete the selected line numbers, save the file under its correct name.

rigel

  • New Member
  • *
  • Posts: 29
Re: ViewVC
« Reply #5 on: September 21, 2014, 11:35:21 pm »
Thanks to all for the help!
Now I can save files! I hope configuration will be restored so we can download files normally.

noname01

  • New Member
  • *
  • Posts: 10
Re: ViewVC
« Reply #6 on: November 18, 2020, 06:12:21 pm »
The link

https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=roots

is not working.

It gives this error:

Not Found
The requested URL was not found on this server.
Apache/2.4.29 (Ubuntu) Server at svn.freepascal.org Port 443

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9869
  • Debugger - SynEdit - and more
    • wiki
Re: ViewVC
« Reply #7 on: November 18, 2020, 06:45:14 pm »
The link

https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=roots

is not working.

Check on the FPC mail list. I saw the admin posting a few days back that he intentionally took it down (temporarily).
Apparently it was DOS-ed by some bot.

No idea how long until it will be put back (again check mail list)

 

TinyPortal © 2005-2018