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

Re: Can (Tortoise) Svn auto uncompress-recompress files to merge/update files?

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 11 Apr 2012 01:13:49 -0400

Why store the files as compressed if you need to merge them? You're
not saving anything by zipping them up as a compressed archive.
Subversion uses diff format to store changes, so each revision only
stores the differences from the previous version.

In fact, you're probably wasting a lot more room storing these files
as a compressed archive. Each change in that compressed archive means
storing the differences between one compressed archive vs. the other,
and the differences are probably pretty major since minor differences
in compressed files can filter throughout the entire compressed
archive.

So, uncompress them, and store them as pure XML files. Then, you can
use Subversion to track individual diffs and do your merges. By the
way, Subversion default diff and merge tools aren't too good for XML
because XML files aren't line oriented. Fortunately, you can specify
your own diff and merge tools when you use Subversion. Find a good XML
diff and merge tool for these files.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2012-04-11 07:14:29 CEST

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.