You can use the doDiffStatus function for this. I have a
tool that
compares a stable and development branch without having a
working copy
on disk.
conn = SVNClientManager.newInstance( options,
config.getUsername(),
config.getPassword() );
DiffStatusGatherer gatherer = new
DiffStatusGatherer();
conn.getDiffClient().doDiffStatus(
config.getStableURL(),
SVNRevision.HEAD,
config.getDevURL(),
SVNRevision.HEAD,
true, false,
gatherer );
DiffStatusGatherer is my own implementation that implements
ISVNDiffStatusHandler, and it collects a List of
differences. config is
also an instance of my own class.
Jason
-----Original Message-----
From: Kris Wolff [mailto:kwolff intra-team.de]
Sent: Tuesday, March 11, 2008 8:49 PM
To: svnkit-users svnkit.com
Subject: diff files between two branches
Hi all,
i am new to svnkit and it looks pretty cool. I have to
generate a
list of different files between branch1 and branch2. I'll
best lern
from examples, but i can not find this particular one on the
site or
in the userlist.
If you have a cope-snip for this action, can you please post
it?
Thank you very much.
Kris
------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribe svnkit.com
For additional commands, e-mail: svnkit-users-help svnkit.com
------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribe svnkit.com
For additional commands, e-mail: svnkit-users-help svnkit.com
|