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

Bug related to : or :: in filename in svn:mergeinfo

From: Damien Deville <damien.deville_at_netasq.com>
Date: Mon, 05 Jan 2009 14:10:31 +0100

Hi subversion devels,

I think we found an issue in svn 1.5 mergeinfo

Here is the description:
- we have a repository using svn 1.5.5/1.5.4 for client and server side
(server side was migrated to support mergeinfo)
- we have one trunk and some branches
- when wanting to merge one revision from trunk to another branch the
following error appears:

svn: Could not parse mergeinfo string ':netasq-bpf.c:25374'
svn: Invalid revision number found parsing ':netasq-bpf.c:25374'

we have some files with "::" in their names and some of them can be
found in svn:mergeinfo property

Here is an extract of the result of command "svn pg svn:mergeinfo
--recursive ." on one of our branch

contrib/isc-dhcp3-server/files/patch-common::netasq-bpf.c - /trunk/<some
  path>/contrib/isc-dhcp3-server/files/patch-common::netasq-bpf.c:25381

Here is the error reported when trying to do a svn merge:

svn: Could not parse mergeinfo string ':netasq-bpf.c:25368'
svn: Invalid revision number found parsing ':netasq-bpf.c:25368'

Attached to this email is a quick and dirty fix for parsing of path in
mergeinfo for subversion 1.5.4 and 1.5.5.

If you need extra information feel free to request them.

Thanks in advance,
Damien Deville

-- 
Damien Deville
R&D engineer
damien.deville_at_netasq.com
http://www.netasq.com
NETASQ - We secure IT
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1005163

Hi subversion devels,

I think we found an issue in svn 1.5 mergeinfo

Here is the description:
- we have a repository using svn 1.5.5/1.5.4 for client and server side
(server side was migrated to support mergeinfo)
- we have one trunk and some branches
- when wanting to merge one revision from trunk to another branch the
following error appears:

svn: Could not parse mergeinfo string ':netasq-bpf.c:25374'
svn: Invalid revision number found parsing ':netasq-bpf.c:25374'

we have some files with "::" in their names and some of them can be
found in svn:mergeinfo property

Here is an extract of the result of command "svn pg svn:mergeinfo
--recursive ." on one of our branch

contrib/isc-dhcp3-server/files/patch-common::netasq-bpf.c - /trunk/<some
  path>/contrib/isc-dhcp3-server/files/patch-common::netasq-bpf.c:25381

Here is the error reported when trying to do a svn merge:

svn: Could not parse mergeinfo string ':netasq-bpf.c:25368'
svn: Invalid revision number found parsing ':netasq-bpf.c:25368'

Attached to this email is a quick and dirty fix for parsing of path in
mergeinfo for subversion 1.5.4 and 1.5.5.

If you need extra information feel free to request them.

Thanks in advance,
Damien Deville

-- 
Damien Deville
R&D engineer
damien.deville_at_netasq.com
http://www.netasq.com
NETASQ - We secure IT
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1005163
Received on 2009-01-05 14:35:56 CET

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.