Okay, I've been through the book, the list archives, and all of the 'help'
output, and I've yet to be able to figure out a way to do this, so I'm going
to ask and see if I'm overlooking something obvious. The question might not
make much sense if you're only using subversion for source code, but in the
context of revision controlling binary files, I think it makes sense.
I've got a tag in my repository (we'll call it /tags/release1), representing
a software release.
I've got a tag in my repository (/tags/release2), representing an 'updated'
version of that software release.
From this, I want to generate a seperate directory (probably under
/patches) which contains only the (complete) files that are different
between these two tags, from which I'll create a 'patch' for the release.
I had two thoughts on how I might do this:
1. Use some flavour of 'svn merge' to create the new direcotry structure.
Unfortunately, this doesn't work... if I create a /patches directory,
check it out, and do
'svn merge http://host/tags/release1 http://host/tags/release2 .', I just
get "svn: Working copy not locked"
2. Use 'svn diff' to generate the list of files that differ, run it through
some type of script to extract the list of differing filenames from the
'diff' output, create the relevant directories, and then 'svn cp' the files
into place. This is more do-able, but it seems like more work than should
be needed, especially since subversion lacks the equivilent of 'mkdir -p'
... so I've come to the conclusion that there's no -good- way to do what I
want to do here. But I freely admit, I might be missing something, so I turn
to the collective wisdom of this list. Anyone have some insight?
Thanks!
-jay
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 28 00:17:50 2003