svn merge failed

2,138 views
Skip to first unread message

wuzhouhui

unread,
Oct 26, 2017, 1:36:24 AM10/26/17
to us...@subversion.apache.org
Hi,

I run "svn merge" in my working copy, but I got

svn: E200007: Querying mergeinfo requires version 3 of the FSFS
filesystem schema; filesystem '/home/svn/vsds_source/db' uses only version 2

Subversion client-side version is 1.9.7, while server-side is 1.6.11. In
addition,
Ihavenoadministration access in server, so I can't upgrade server's
subversion.
I knew version 1.6.11 can merge successfully, but I'm wondering if there
exist
other solutions for higher subversion client to merge successfully?

Bert Huijben

unread,
Oct 26, 2017, 3:25:17 AM10/26/17
to wuzhouhui, us...@subversion.apache.org
This server version knows how to merge, but the filesystem used by this repository is too old to support client requests for these features. The administrator should run 'svnadmin upgrade repository' to bump the format to enable this feature...
For better results he/she should also upgrade the server to a fully supported version but this doesn't help when the filesystem is not upgraded.

Bert

wuzhouhui

unread,
Oct 26, 2017, 4:39:43 AM10/26/17
to Bert Huijben, us...@subversion.apache.org
I'm wondering if higher Subversion client can disable some features for
compatible with older Subversion server.

Stefan Sperling

unread,
Oct 26, 2017, 5:34:22 AM10/26/17
to wuzhouhui, Bert Huijben, us...@subversion.apache.org
On Thu, Oct 26, 2017 at 04:39:11PM +0800, wuzhouhui wrote:
> I'm wondering if higher Subversion client can disable some features for
> compatible with older Subversion server.

The --no-ancestry option disables merge-tracking on the client.
You could try again with 'svn merge --no-ancestry'.

But the recommended option is to upgrade the repository filesystem
on the server.

wuzhouhui

unread,
Oct 26, 2017, 5:44:33 AM10/26/17
to us...@subversion.apache.org
There is no option --no-ancestry for subcommand merge, I think option
--ignore-ancestry is what you talk about.

I run "svn merge --ignore-ancestry" and got this:
svn: E200004: Cannot merge automatically while ignoring mergeinfo

Stefan Sperling

unread,
Oct 26, 2017, 6:22:06 AM10/26/17
to wuzhouhui, us...@subversion.apache.org
On Thu, Oct 26, 2017 at 05:44:16PM +0800, wuzhouhui wrote:
> There is no option --no-ancestry for subcommand merge, I think option
> --ignore-ancestry is what you talk about.

Correct. Sorry about that.

> I run "svn merge --ignore-ancestry" and got this:
> svn: E200004: Cannot merge automatically while ignoring mergeinfo

You will have to specify a revision range as well when merging with
merge-tracking disabled: Use the -r or -c option.
Otherwise, SVN cannot know which changes should be merged.

wuzhouhui

unread,
Oct 26, 2017, 9:09:59 PM10/26/17
to us...@subversion.apache.org
Thanks, it works.


Reply all
Reply to author
Forward
0 new messages