List Info

Thread: diff files between two branches




diff files between two branches
user name
2008-03-11 19:49:22
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-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


RE: diff files between two branches
user name
2008-03-12 08:08:03
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:kwolffintra-team.de] 
Sent: Tuesday, March 11, 2008 8:49 PM
To: svnkit-userssvnkit.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-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )