This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

A simple way download from the cvs server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 03-08-2004 , 20:59   A simple way download from the cvs server
Reply With Quote #1

http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx
Is the best place to get what you want.

This file downloads the content of the amxmodx cvs server. Its not realy needed
since you can download it from their webpage anyways ( witch is exacly what these batch files does )

Its proberbly gonna fail on none english OS`es. But it might work. You can download the content yourself

http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx

The batch files simply open IE to the download link of the batch files. Its a crappy solution ( compared to the cvs downloader )

Q)Its does not work on my computer
A) Use: http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx

Q) Cant use use the cvs.exe method on the amxx cvs serveR?
A) no, you cant do a anonymous checkout on it.

Q) Its blocks you cant do checkouts
A) It would preffere if i could, but instead of them fixing that. Id rather have a updated version of AMXX.
Attached Files
File Type: zip download_tarbal.zip (1.7 KB, 192 views)
EKS is offline
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 03-08-2004 , 21:03  
Reply With Quote #2

NICE!! Very Simple Batch Files!!

How thoughtfull, thx!!
xeroblood is offline
Send a message via MSN to xeroblood
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-08-2004 , 21:05   Sounds Intresting...
Reply With Quote #3

This Sounds Quite Intresting...

I Will check it out after Testing tonight if I have time..
Thanx For the Nice Post..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-09-2004 , 08:58  
Reply With Quote #4

I am looking for a way to get everything from a module (or whole cvs) from a specified point in time. Say I want the cstrike sources exactly as they was last Thursday at 5:05 am. Is there any way to pull this off?
I'd hate have to go through revísions for every single source file trying to find the version closest to that time, but not newer than it. (its really impossible to do)
Johnny got his gun is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 03-09-2004 , 09:32  
Reply With Quote #5

@EKS: the easiest way to download all files is to click on "Download tarball" ;)

@JGHG with the -D flag. e.g.
Code:
[ryan@bahnhof:~/test2 ] $ export CVSROOT=":pserver:user:pass@host:/path"
[ryan@bahnhof:~/test2 ] $ cvs login
[ryan@bahnhof:~/test2 ] $ cvs -z 3 checkout -D "Feb 2, 2004" module/
cvs server: Updating src
U src/changelog.txt
U src/installer.txt
U src/readme.txt
U src/upgrading.txt
cvs server: Updating src/examples
.
.
.

man cvs
Code:
       -D date_spec
              Use  the  most  recent  revision  no  later  than  date_spec (a single argument, date
              description specifying a date in the past).  A wide variety of date formats are  sup*********
              ported,  in  particular  ISO  ("1972-09-24 20:05") or Internet ("24 Sep 1972 20:05").
              The date_spec is interpreted as being in the local timezone, unless a specific  time*********
              zone is specified.  The specification is ``sticky'' when you use it to make a private
              copy of a source file; that is, when you get a working file using -D, cvs records the
              date  you  specified, so that further updates in the same directory will use the same
              date (unless you explicitly override it; see the description of the update  command).
              -D  is  available  with  the checkout, diff, history, export, rdiff, rtag, and update
              commands.  Examples of valid date specifications include:
                        1 month ago
                        2 hours ago
                        400000 seconds ago
                        last year
                        last Monday
                        yesterday
                        a fortnight ago
                        3/31/92 10:00:07 PST
                        January 23, 1987 10:05pm
                        22:00 GMT
DopeFish is offline
Send a message via ICQ to DopeFish
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-09-2004 , 09:40  
Reply With Quote #6

thx a bunch
Johnny got his gun is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 03-09-2004 , 09:52  
Reply With Quote #7

somwthing I forgot. the -D flag is normally "sticky" so the next time you try to update, it will still only get the version from that date. If that happens you can tell it to revert back to "the latest version" with "cvs update -A"
There is a pretty extensive documentation of cvs here: http://developer.apple.com/documenta...s/cvs_toc.html
DopeFish is offline
Send a message via ICQ to DopeFish
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-09-2004 , 10:34  
Reply With Quote #8

Btw I found a much easier way using Tortoise, you just make a dir and when checking out, theres another page where you can specify a date to retrieve from, no exact hour+minute though.
Johnny got his gun is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 03-09-2004 , 11:39  
Reply With Quote #9

I really should have a look at Tortoise, I am still using wincvs when programming at my windows machine.
DopeFish is offline
Send a message via ICQ to DopeFish
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 03-09-2004 , 12:23  
Reply With Quote #10

This batch is great!
It's just one problem, but it is no problem with the batch:
The Plugins folder is empty.
mICKE is offline
Send a message via ICQ to mICKE
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode