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

Re: Generating a dump file using a powershell script

From: Geoff Worboys <geoff_at_telesiscomputing.com.au>
Date: Wed, 23 Jun 2010 15:33:33 +1000

Daniel Shahaf wrote:
> svnadmin operates at a level below the sanity checks (it
> talks to libsvn_fs directly most of the time) --- it'll
> load the dumpfile literally. svn doesn't complain outright,
> okay, and I suspect it may even correct the linefeeds for
> you on the first commit to the file in question.

Well certainly it takes care of the line feeds if you create
the property svn:eol-style=native at some point after
committing the original file. A dump after that commit shows
the entire file repeated with the new eols ...

But I've adjusted my script now, any files the script identifies
(by extension) as needing svn:eol-style=native are appropriately
translated into the dump file.

I am quite pleased with the result, it certainly seems to solve
my file time-stamp problem well enough. Still to do some more
testing but it looks promising.

Anyone here interested in looking-at/experimenting-with the
powershell script let me know, I am happy to share it. Does
this list accept attachments or can that be done only via
private email?

Thanks again.

-- 
Geoff Worboys
Telesis Computing
Received on 2010-06-23 07:34:26 CEST

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