[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Stripping .svn directories

From: Sindbad the Seafarer <sindbad.the.seafarer_at_gmx.net>
Date: 2003-08-16 23:02:47 CEST

Concerning Re: Stripping .svn directories
cmpilato@collab.net wrote on 15 Aug 2003, 19:39, at least in part:

> "Wadsworth, Eric (Contractor)" <wadswore@fhu.disa.mil> writes:
>
> > > Wanna try 'svn export' instead? :-)
> >
> > Oh, yeah, *much* better solution! Thanks!
>
> And remember, you can run 'svn export' on a working copy, not just a
> repository URL, so if you working copy already reflects the state you
> want to capture in the .war files, you can avoid the network
> altogether.

Depending on how great your archive is and how many files have
changed between exports on average and if you wanna upload it
onto the web this might matter: svn export gives the exported files
the timestamp of the export and it exports all files, no matter if
changed since last export or not.

Using SVN for website production and wanting to upload only
changed files and the .svn folders neither I use the filemanager
Total Commander (www.ghisler.com). It has built-in FTP and
synchronize functions where one can set excludes and upload
changed files only. So I upload from one up-to-date working copy
with "|.svn\" set for exclusion (without quotes).

There is a minor quirk though as long as SVN does not update
checksums if just timestamps of files have changed. TotalCom
resets the timestamp after upload to that on the remote web server.
To avoid SVN checking files again and again as much as possible I
do the following steps:

svn update on working copy
upload/synchronize working copy/webserver with TotalCom
svn co

This spares at least files changed in that working copy from the
timestamp quirk. OTOH if you have lots of working copies this does
not matter much: all files you get through update have timestamps
changed during upload and are therefore rechecked by SVN again
and again on every update/commit.

TotalCom is shareware btw (28 bucks I think).

Jan Hendrik
---------------------------------------
Freedom quote:

     The most dangerous man, to any government,
     is the man who is able to think things out for himself,
     without regard to the prevailing superstitions and taboos.
                -- H. L. Mencken, 1919

---------------------------------------
Mailed with Pegasus Mail 3.12c (32bit).
Never heard of it?
Easy to use, full featured - and freely available.
And *no* automatic virus activation and spreading.
Take a look at http://www.pmail.com
Give it a try - and you'll never miss anything else.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 16 23:00:33 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.