Advice sought on how to diff and commit multiple files
From: David Aldrich <David.Aldrich_at_EU.NEC.COM>
Date: Thu, 31 Jul 2008 09:12:00 +0100
Hi
We are developing an application based on a project developed by a third party. That 'base' project consists of drivers and infrastructure code. Both we and the third party develop using SVN but it is likely that we won't be allowed access to the third party's repository. Instead, they will send use releases of the entire base project as zip files. We will then have to identify the files that have changed and commit only those to our repository (which contains both the base project and the application).
If the dates of unchanged files remain identical between releases I guess this would be a simple matter of copying the zip file to a local working copy here. The SVN client should then identify the files that have changed by time comparison.
However, I am not sure that the dates of unchanged files will be identical. Therefore, I think it would be safer to diff the contents of each file to identify changes and then commit. I guess this would require a script (certainly it couldn't be done manually because of the large number of files). So I would like to ask for advice on how to go about this. Am I likely to be able to find an existing script that would do this for me or must I write it myself?
I am working under Windows and am proficient in C++ but not Python or Perl.
Best regards
David
---------------------------------------------------------------------
|
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.