sounds like you want to use some variant of rsync to move the files.
Rsync will copy files that are newer / different than the destination
files and leave the rest of the files and the .svn folder untouched.
On 12/8/11 6:00 PM, Peter 'Fish' Fisera wrote:
hi all. i've got a "how-do-i" question here...
so here's my issue. i have been doing some of my dev work from a
different copy of my application than the actual local copy that's
been checked out from a remove svn repository, for various reasons
that don't matter here.
normally when i do this, i just copy in the few new or changed files,
overwriting whatever's there, and then add (if new) and commit them,
and they appear to the version control as changes that could have been
done in-place, which is what i want.
however, in this case, the changes made are numerous, in the hundreds
of files, all of them starting at a single direcotry "foo" and going
about seven directory levels deep under that.
i don't want to have to copy in the changes file-by-file, it would
take just short of forever!
but i can't just blow away the local "foo" directory and replace with
the new one from my devel version, because then the .svn directory
within each code directory will go missing, and i'm sure that's not
good. at the very least, that would make all the files look like they
were new and needed to be added, and i'd lose all previous version
control tracking of them, right?
i suppose i could do a recursive "remove" of all these files, delete
the existing tree under "foo", copy in the new ones, and then a
recursive "add", but that also would delete any existing version
control info for those directories, right?
so the question is... is there any way i can copy in all the new files
and yet somehow tell svn to use the version control info already
stored in the remote repository for each local directory that's been
changed, rather than assuming they are new files? and that it would
somehow regenerate the .svn directory for each?
or some kind of tool (or sequence of linux commands) that could do a
recursive copy from one folder to another, blowing away all files in
the target directory structure EXCEPT the .svn folders?
anyone know how to do this?
thanks!
Peter Fisera
Earth Angel Consulting
http://earthangelconsulting.com
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.