You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by vellur pandian R K <ve...@gmail.com> on 2016/11/22 09:30:09 UTC

SVN issue

Hi

  We are using Visual SVN server in our company. It worked well

But users unable to create particular branch from trunk folder

i have put svnadmin verify to check repository

i found error as below


* Verified revision 508448.
* Verified revision 508449.
* Verified revision 508450.
* Verified revision 508451.
svnadmin: E160004: Mergeinfo-count discrepancy on 'a-1.0.r508452/9674':
expected
 1244741480414057964+0, counted 116

Could you please tell me what to do

Regards
Pandian

Re: SVN issue

Posted by vellur pandian R K <ve...@gmail.com>.
On Tue, Nov 22, 2016 at 4:11 PM, Pavel Lyalyakin <
pavel.lyalyakin@visualsvn.com> wrote:

> Hello,
>
> On Tue, Nov 22, 2016 at 1:32 PM, vellur pandian R K
> <ve...@gmail.com> wrote:
>
> Use "Reply All" command of your email client to keep the mailing list
> in the loop, please. BTW, the mailing list prefers bottom posting or
> inline replying instead of top-posing.
>
> > Hi Pavel,
> >
> >    Thanks for the reply, Right now i have did like this
> >
> > svnadmin dump --incremental -r 508542 c:\svn\myrepository >> dumpfile
> >
> > after hit enter i got the below message
> >
> > dumped revision 50582.
> >
> > Whats gonna happen. Did i do anything wrong?
>
> The message tells you that you've just dumped the revision 50582 to
> the file "dumpfile". I'm not sure why you run incremental dump and why
> you specify revision 508542, while the output has 50582.
>
> Please, read my and Daniel's recommendations carefully. Make sure that
> your VisualSVN Server is up to date and dump-load the repository.
>
> If you are new to Subversion or `svnadmin dump` and `svnadmin load`
> tools, it is strongly recommended to read the documentation:
> http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.
> html#svn.reposadmin.maint.migrate.svnadmin
>
> > Regards
> >
> > Pandian
> >
> >
> >
> > On Tue, Nov 22, 2016 at 3:45 PM, Pavel Lyalyakin <
> pavel.lyalyakin@visualsvn.com> wrote:
> >>
> >> Hello,
> >>
> >> On Tue, Nov 22, 2016 at 12:30 PM, vellur pandian R K
> >> <ve...@gmail.com> wrote:
> >> >
> >> > Hi
> >> >
> >> >   We are using Visual SVN server in our company. It worked well
> >>
> >> What VisualSVN Server version do you use at the moment? Make sure that
> >> you use an up-to-date VisualSVN Server version.
> >>
> >> > But users unable to create particular branch from trunk folder
> >> >
> >> > i have put svnadmin verify to check repository
> >> >
> >> > i found error as below
> >> >
> >> > * Verified revision 508448.
> >> > * Verified revision 508449.
> >> > * Verified revision 508450.
> >> > * Verified revision 508451.
> >> > svnadmin: E160004: Mergeinfo-count discrepancy on
> 'a-1.0.r508452/9674': expected
> >> >  1244741480414057964+0, counted 116
> >> >
> >> > Could you please tell me what to do
> >>
> >> Create a new empty repository and use `svnadmin dump` & `svnadmin
> >> load`[1] to load the repository dump stream from old to new repo.
> >> Dump-load cycle should help you fix this particular error.
> >>
> >> Here is an example of the command you could run to pipe the dump steam
> >> from old repo to the new one:
> >> [[[
> >> svnadmin dump ORIGINALREPO | svnadmin load NEWREPO --quiet
> >> ]]]
> >>
> >> Don't forget to copy the original repository's UUID[2] when creating
> >> the new repository and copy the hook scripts and access rules list
> >> (\conf\VisualSVN-WinAuthz.ini or \conf\VisualSVN-SvnAuthz.ini).
> >>
> >> BTW, you've mentioned that "users unable to create particular branch";
> >> there is a chance that these issues are unrelated to each other. If
> >> you require assistance, please provide a comprehensive summary of the
> >> behavior including the complete errors your users report, what client
> >> software and versions they use and show the events logged to
> >> VisualSVN Server event log.
> >>
> >> [1]: http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.
> html#svn.reposadmin.maint.migrate.svnadmin
> >> [2]: http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.
> html#svn.reposadmin.maint.uuids
> >>
> >> --
> >> With best regards,
> >> Pavel Lyalyakin
> >> VisualSVN Team
> >
> >
>
>

Hi Pavel,

   Thank you. I think typo error,

svnadmin dump --incremental -r 508542 c:\svn\myrepository >> dumpfile
>
> after hit enter i got the below message
>
> dumped revision 508542

What i tried to do here is, to fix the corrupted revision number 508542

will it go anything wrong, becauase i have entered abouve in server

Regards
Pandian



>
>
> --
> With best regards,
> Pavel Lyalyakin
> VisualSVN Team
>

Re: SVN issue

Posted by Pavel Lyalyakin <pa...@visualsvn.com>.
Hello,

On Tue, Nov 22, 2016 at 1:32 PM, vellur pandian R K
<ve...@gmail.com> wrote:

Use "Reply All" command of your email client to keep the mailing list
in the loop, please. BTW, the mailing list prefers bottom posting or
inline replying instead of top-posing.

> Hi Pavel,
>
>    Thanks for the reply, Right now i have did like this
>
> svnadmin dump --incremental -r 508542 c:\svn\myrepository >> dumpfile
>
> after hit enter i got the below message
>
> dumped revision 50582.
>
> Whats gonna happen. Did i do anything wrong?

The message tells you that you've just dumped the revision 50582 to
the file "dumpfile". I'm not sure why you run incremental dump and why
you specify revision 508542, while the output has 50582.

Please, read my and Daniel's recommendations carefully. Make sure that
your VisualSVN Server is up to date and dump-load the repository.

If you are new to Subversion or `svnadmin dump` and `svnadmin load`
tools, it is strongly recommended to read the documentation:
http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate.svnadmin

> Regards
>
> Pandian
>
>
>
> On Tue, Nov 22, 2016 at 3:45 PM, Pavel Lyalyakin <pa...@visualsvn.com> wrote:
>>
>> Hello,
>>
>> On Tue, Nov 22, 2016 at 12:30 PM, vellur pandian R K
>> <ve...@gmail.com> wrote:
>> >
>> > Hi
>> >
>> >   We are using Visual SVN server in our company. It worked well
>>
>> What VisualSVN Server version do you use at the moment? Make sure that
>> you use an up-to-date VisualSVN Server version.
>>
>> > But users unable to create particular branch from trunk folder
>> >
>> > i have put svnadmin verify to check repository
>> >
>> > i found error as below
>> >
>> > * Verified revision 508448.
>> > * Verified revision 508449.
>> > * Verified revision 508450.
>> > * Verified revision 508451.
>> > svnadmin: E160004: Mergeinfo-count discrepancy on 'a-1.0.r508452/9674': expected
>> >  1244741480414057964+0, counted 116
>> >
>> > Could you please tell me what to do
>>
>> Create a new empty repository and use `svnadmin dump` & `svnadmin
>> load`[1] to load the repository dump stream from old to new repo.
>> Dump-load cycle should help you fix this particular error.
>>
>> Here is an example of the command you could run to pipe the dump steam
>> from old repo to the new one:
>> [[[
>> svnadmin dump ORIGINALREPO | svnadmin load NEWREPO --quiet
>> ]]]
>>
>> Don't forget to copy the original repository's UUID[2] when creating
>> the new repository and copy the hook scripts and access rules list
>> (\conf\VisualSVN-WinAuthz.ini or \conf\VisualSVN-SvnAuthz.ini).
>>
>> BTW, you've mentioned that "users unable to create particular branch";
>> there is a chance that these issues are unrelated to each other. If
>> you require assistance, please provide a comprehensive summary of the
>> behavior including the complete errors your users report, what client
>> software and versions they use and show the events logged to
>> VisualSVN Server event log.
>>
>> [1]: http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate.svnadmin
>> [2]: http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.uuids
>>
>> --
>> With best regards,
>> Pavel Lyalyakin
>> VisualSVN Team
>
>



--
With best regards,
Pavel Lyalyakin
VisualSVN Team

Re: SVN issue

Posted by Pavel Lyalyakin <pa...@visualsvn.com>.
Hello,

On Tue, Nov 22, 2016 at 12:30 PM, vellur pandian R K
<ve...@gmail.com> wrote:
>
> Hi
>
>   We are using Visual SVN server in our company. It worked well

What VisualSVN Server version do you use at the moment? Make sure that
you use an up-to-date VisualSVN Server version.

> But users unable to create particular branch from trunk folder
>
> i have put svnadmin verify to check repository
>
> i found error as below
>
> * Verified revision 508448.
> * Verified revision 508449.
> * Verified revision 508450.
> * Verified revision 508451.
> svnadmin: E160004: Mergeinfo-count discrepancy on 'a-1.0.r508452/9674': expected
>  1244741480414057964+0, counted 116
>
> Could you please tell me what to do

Create a new empty repository and use `svnadmin dump` & `svnadmin
load`[1] to load the repository dump stream from old to new repo.
Dump-load cycle should help you fix this particular error.

Here is an example of the command you could run to pipe the dump steam
from old repo to the new one:
[[[
svnadmin dump ORIGINALREPO | svnadmin load NEWREPO --quiet
]]]

Don't forget to copy the original repository's UUID[2] when creating
the new repository and copy the hook scripts and access rules list
(\conf\VisualSVN-WinAuthz.ini or \conf\VisualSVN-SvnAuthz.ini).

BTW, you've mentioned that "users unable to create particular branch";
there is a chance that these issues are unrelated to each other. If
you require assistance, please provide a comprehensive summary of the
behavior including the complete errors your users report, what client
software and versions they use and show the events logged to
VisualSVN Server event log.

[1]: http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate.svnadmin
[2]: http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.uuids

--
With best regards,
Pavel Lyalyakin
VisualSVN Team

Re: SVN issue

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
vellur pandian R K wrote on Tue, Nov 22, 2016 at 15:00:09 +0530:
> * Verified revision 508451.
> svnadmin: E160004: Mergeinfo-count discrepancy on 'a-1.0.r508452/9674':
> expected
>  1244741480414057964+0, counted 116

This looks like issue #4129:

    https://subversion.apache.org/docs/issue4129.txt
    https://issues.apache.org/jira/browse/SVN-4129

In short: it is a metadata corruption.  The fix is to upgrade the server
[see the first link for which release to upgrade to], and to run
a dump/load cycle.

This is a metadata-only issue; files, properties, authz settings, etc
are not affected.

Cheers,

Daniel