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

Query on location segments report

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-12-24 15:02:18 CET

Hi All,

I was trying to understand the 'get-location-segments' report.

I have the following testcase(Sorry I don't have it in script form),
please use the attached dump file.
It is about keep renaming 'trunk' between each rename add one file in a
different commit.

a)load the dump
b)Put a break point on
'subversion/libsvn_client/merge.c:normalize_merge_sources' just after
the call to 'svn_client__repos_location_segments'.
This gives the following segments
segment[0] = {start_rev=1, end_rev=1, path="trunk"}
segment[1] = {start_rev=2, end_rev=3, path=NULL}
segment[2] = {start_rev=4, end_rev=5, path="trunk1"}
segment[3] = {start_rev=6, end_rev=7, path="trunk2"}
segment[4] = {start_rev=8, end_rev=9, path="trunk3"}
segment[5] = {start_rev=10, end_rev=11, path="trunk4"}
segment[6] = {start_rev=12, end_rev=13, path="trunk5"}

I am concerned about 'segment[1]' why the 'path' is NULL as there is no
gap in history.

With regards
Kamesh Jayachandran

SVN-fs-dump-format-version: 2

UUID: 1d976702-0442-0410-ab68-b289fc3ccb27

Revision-number: 0
Prop-content-length: 56
Content-length: 56

K 8
svn:date
V 27
2007-12-24T08:28:14.574629Z
PROPS-END

Revision-number: 1
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:28:55.693159Z
PROPS-END

Node-path: trunk
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10

PROPS-END

Revision-number: 2
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:29:06.162157Z
PROPS-END

Node-path: b1
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 1
Node-copyfrom-path: trunk
Prop-content-length: 34
Content-length: 34

PROPS-END

Revision-number: 3
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:29:27.723990Z
PROPS-END

Node-path: trunk/file0.txt
Node-kind: file
Node-action: add
Prop-content-length: 10
Text-content-length: 7
Text-content-md5: 8563c2a9b1b1593b4b576bf7e1e32366
Content-length: 17

PROPS-END
hello.

Revision-number: 4
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:53:26.691128Z
PROPS-END

Node-path: trunk1
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 1
Node-copyfrom-path: trunk
Prop-content-length: 34
Content-length: 34

PROPS-END

Node-path: trunk1/file0.txt
Node-kind: file
Node-action: add
Node-copyfrom-rev: 3
Node-copyfrom-path: trunk/file0.txt
Text-copy-source-md5: 8563c2a9b1b1593b4b576bf7e1e32366

Node-path: trunk
Node-action: delete

Revision-number: 5
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:54:05.735286Z
PROPS-END

Node-path: trunk1/file1.txt
Node-kind: file
Node-action: add
Prop-content-length: 10
Text-content-length: 7
Text-content-md5: beb2f90d6f3cc1452661caa2c0111082
Content-length: 17

PROPS-END
file1.

Revision-number: 6
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:56:19.499823Z
PROPS-END

Node-path: trunk2
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 5
Node-copyfrom-path: trunk1

Node-path: trunk1
Node-action: delete

Revision-number: 7
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:56:44.992902Z
PROPS-END

Node-path: trunk2/file2.txt
Node-kind: file
Node-action: add
Prop-content-length: 10
Text-content-length: 7
Text-content-md5: bd52697130c90a93969d7d1f2363c4a0
Content-length: 17

PROPS-END
file2.

Revision-number: 8
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:57:01.040477Z
PROPS-END

Node-path: trunk3
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 7
Node-copyfrom-path: trunk2

Node-path: trunk2
Node-action: delete

Revision-number: 9
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:57:24.302116Z
PROPS-END

Node-path: trunk3/file3.txt
Node-kind: file
Node-action: add
Prop-content-length: 10
Text-content-length: 7
Text-content-md5: 8563c2a9b1b1593b4b576bf7e1e32366
Content-length: 17

PROPS-END
hello.

Revision-number: 10
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:57:40.649895Z
PROPS-END

Node-path: trunk4
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 9
Node-copyfrom-path: trunk3

Node-path: trunk3
Node-action: delete

Revision-number: 11
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:58:52.469633Z
PROPS-END

Node-path: trunk4/file5.txt
Node-kind: file
Node-action: add
Prop-content-length: 10
Text-content-length: 7
Text-content-md5: 8563c2a9b1b1593b4b576bf7e1e32366
Content-length: 17

PROPS-END
hello.

Revision-number: 12
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:59:11.836636Z
PROPS-END

Node-path: trunk5
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 11
Node-copyfrom-path: trunk4

Node-path: trunk4
Node-action: delete

Revision-number: 13
Prop-content-length: 102
Content-length: 102

K 7
svn:log
V 2
ww
K 10
svn:author
V 6
kamesh
K 8
svn:date
V 27
2007-12-24T08:59:37.661796Z
PROPS-END

Node-path: trunk5/file6.txt
Node-kind: file
Node-action: add
Prop-content-length: 10
Text-content-length: 7
Text-content-md5: 8563c2a9b1b1593b4b576bf7e1e32366
Content-length: 17

PROPS-END
hello.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 24 15:01:39 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.