Hello,

Thanks for your time.

You can have a look at the full code here: 
https://bitbucket.org/sofico/bamboo-svntoolkit-plugin/src/488181031a0d/src/main/java/be/sofico/bamboo/plugins/SVNDiffTask.java
It is part of my bamboo plug-in, you can find the code by the end of the 
file.

I adapted the diff output a bid in my previous post to simplify, here's 
the full text as outputted:

Before update:

Index: 
/data/bamboo-home/xml-data/build-dir/CODEDIFFS-CORE-JOB1/core/_java/source/be/sofico/basecamp/general/SofDeleteSequences.java
===================================================================
--- 
/data/bamboo-home/xml-data/build-dir/CODEDIFFS-CORE-JOB1/core/_java/source/be/sofico/basecamp/general/SofDeleteSequences.java
 
(revision 162123)
+++ 
/data/bamboo-home/xml-data/build-dir/CODEDIFFS-CORE-JOB1/core/_java/source/be/sofico/basecamp/general/SofDeleteSequences.java
 
(working copy)
@@ -35,8 +35,6 @@
        public static final int DYNAMICPROPERTYTYPE = -1;
        public static final int INSTALLATIONHISTORY = -1;

After update:

Index: 
===================================================================
---     (revision 162288)
+++     (working copy)
@@ -2209,6 +2209,7 @@
        public static final int VEHICLEMGR_LINKED_TO_FLEETVEHICLE = 30651;
        public static final int 
VEHICLEMGR_UPDATE_NOT_ALLOWED_WITH_CONTRACT = 30665;


Is a part of the source tree (working set) good enough? Sending the full 
source will be hard (size and security wise).
(how can I send it?)

many thanks,
jan

Jan Swaelens
Development
Sofico NV - www.sofico.be
Technologiepark 1, B-9052 Zwijnaarde, Belgium
Tel +32 9 210 80 40 - Mobile +32 My Mobile 



From:
Dmitry Pavlenko <pavle...@tmatesoft.com>
To:
svnkit-users@svnkit.com, 
Cc:
Jan Swaelens <jan.swael...@sofico.be>
Date:
08/14/2012 04:45 PM
Subject:
Re: Changes to the output of diff after upgrade to 1.7.4-v1



Hello,
I can't reproduce the problem. Could you please provide all the code 
related to diff with arguments 
(what revisions do you use --- numbers, HEAD/WORKING/BASE?)?

It would be good if you could provide any working copy on which the 
problem is reproducible.

>From the first glance looks like paths printed are relative to 
.../MyFile.java, that is a bit 
strange.

--
Dmitry Pavlenko,
TMate Software,
http://subgit.com/ - git+svn on the server side

> Hello,
> 
> I am getting different output of the diff operation after migrating from
> svnkit-1.3.7 to svnkit-1.7.4-v1.
> 
> The output used to be like this (notice the file path information):
> 
> Index: /data//source/some/package/MyFile.java
> ===================================================================
> --- /data//source/some/package/MyFile.java      (revision 162123)
> +++ /data//source/some/package/MyFile.java      (working copy)
> @@ -35,8 +35,6 @@
> ...
> 
> After the update I am getting this (notice the missing path 
information):
> 
> Index:
> ===================================================================
> ---     (revision 162123)
> +++   (working copy)
> @@ -35,8 +35,6 @@
> ...
> 
> Notice that the path/file info is missing ... I already tried to run the
> diff on a newly checked out workspace but this had no effect.
> How can I get the path info back?
> 
> I am using this call to perform the diff:
> org.tmatesoft.svn.core.wc.SVNDiffClient.doDiff(File, SVNRevision,
> SVNRevision, SVNRevision, SVNDepth, boolean, OutputStream, Collection)
> 
> 
> Many thanks!

Reply via email to