> > > Nonsense. The .svn folders contain a whole copy of the files.
> >
> > ??? Strange, I'd expect them to contain signatures (MD5 or
> something)
> > and get the whole copy from the server when needed to diff
> (after all
> > the files [each one separately] aren't huge)
>
> SVN does keep a copy in the .svn folder. This is how it
> manages to create a diff without communicating with the
> server. SVN tries to communicate as little as possible with
> the server, which I think is excellent.  It is also great for
> people with slow internet connections.

It could else split the files internally in parts of a max number of lines
or something and keep signature for each part (calc sig after stripping
white space), then compare the parts with server sigs and get the needed
parts of each file etc. However having all those copies at each client is
extra safety I suppose in case of disaster...

Btw, I guess SVN doesn't download the files at the .svn folder, but creates
such file after it downloads a new version of a real file, so same could be
done with the snapshot. One could download a snapshot and run a script that
checks file sigs from the server and gets only the changed files (since the
snapshot release) and puts at the .svn folder and at the main folder and
then copies the rest from the main folder to the .svn folder (maybe one can
tweek to see tortoiseSVN code to behave like that and make it an option
[unless it can do that already?] or a fork)

----------------
George Birbilis ([EMAIL PROTECTED])
Computer & Informatics Engineer
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
++ QuickTime, Delphi, ActiveX, .NET components ++
http://www.kagi.com/birbilis
++ Robotics ++
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 0653-5, 05/12/2006
Tested on: 12/12/2006 10:01:39 p?
avast! - copyright (c) 1988-2006 ALWIL Software.



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to