Project

General

Profile

Bug #3922

svn backend returns different diff to git/hg backends

Added by Daniel D over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11.05.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

In vcsserver calling a_vcs_backend.diff(rev1='same', rev2='same', path1='samefile', path2='samefile').raw_data

returns for SVN:

Index: samefile
===================================================================
diff --git a/samefile b/samefile
--- a/samefile\t(revision 2)
+++ b/samefile\t(revision 2)

and empty string for both git / hg

Not sure what the correct thing to do is here, empty string makes sense but maybe not when a path has been given in?

Also available in: Atom PDF