I am building a configuration management system using Subversion, Nant
and other tools. I have several scenarios where I need to generate a
text file which contains a list of the files which have been added,
deleted or modified in a directory. For directories that are under SCC,
I use the Subversion command 'svn status' immediately prior to a
'commit'. This produces exactly the list that I need. Save it to a
file and store it in the repository and tag the revision.
However, I have several scenarios where I need to generate the same sort
of list, but in stead of comparing a working directory to the
repository, I need to compare two working directories. One of these is
a staging area and is not a working Subversion directory.
I have the MKS Korn shell installed on these servers and have
experimented with the various 'diff' commands. However, none seem to be
able to generate a simple list of the files and directories that are
different, as is the case for 'svn status'.
Can anyone recommend a command line directory differencing tool that
will generate a simple list of the files that have been added, deleted
and modified for two directories?
Thanks,
Ken Parrish
Gomez, Inc.
Received on 2008-07-31 15:21:03 CEST