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

Equivalent to svn status ...

From: Parrish, Ken <KParrish_at_gomez.com>
Date: Thu, 31 Jul 2008 09:20:39 -0400

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

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.