Problem to copy
Hi Anton, we have problem to push or copy the repository to HgLab, it always comes with this error message (see below), can you please advise what can be done to fix this problem
System.ApplicationException: invalid patch
at HgSharp.Core.MPatch.GetPatchedSize(Int32 len, FragmentList l) in d:\projects\hgsharp\src\HgSharp.Core\Mpatch.cs:line 255
at HgSharp.Core.MPatch.Patch(Byte[] text, IList`1 patches) in d:\projects\hgsharp\src\HgSharp.Core\Mpatch.cs:line 316
at HgSharp.Core.HgRevlogReader.<ReadRevlogEntries>d__34.MoveNext() in d:\projects\hgsharp\src\HgSharp.Core\HgRevlogReader.cs:line 174
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at HgSharp.Core.HgRevlogReader.ReadRevlogEntry(UInt32 revision) in d:\projects\hgsharp\src\HgSharp.Core\HgRevlogReader.cs:line 272
at HgSharp.Core.HgRevlogReader.ReadRevlogEntry(HgNodeID nodeID) in d:\projects\hgsharp\src\HgSharp.Core\HgRevlogReader.cs:line 40
at HgSharp.Core.HgRevlogBasedStorage.<>c__DisplayClass1.<GetRevlogEntryData>b__0() in d:\projects\hgsharp\src\HgSharp.Core\HgRevlogBasedStorage.cs:line 48
at HgLab.Core.Framework.Caching.MemoryCacheObjectCache.GetOrAdd[T](String key, Func`1 valueProvider) in d:\projects\hglab\src\HgLab.Core\Framework\Caching\MemoryCacheObjectCache.cs:line 67
at HgLab.Core.Impl.Integration.ObjectCacheAdapter.GetOrAdd[T](String key, Func`1 valueProvider) in d:\projects\hglab\src\HgLab.Core\Impl\Integration\ObjectCacheAdapter.cs:line 48
at HgSharp.Core.HgRevlogBasedStorage.GetRevlogEntryData(HgNodeID hgNodeID) in d:\projects\hgsharp\src\HgSharp.Core\HgRevlogBasedStorage.cs:line 48
at HgSharp.Core.HgManifest.<>c__DisplayClass1.<get_Item>b__0() in d:\projects\hgsharp\src\HgSharp.Core\HgManifest.cs:line 25
at HgLab.Core.Framework.Caching.MemoryCacheObjectCache.GetOrAdd[T](String key, Func`1 valueProvider) in d:\projects\hglab\src\HgLab.Core\Framework\Caching\MemoryCacheObjectCache.cs:line 67
at HgLab.Core.Impl.Integration.ObjectCacheAdapter.GetOrAdd[T](String key, Func`1 valueProvider) in d:\projects\hglab\src\HgLab.Core\Impl\Integration\ObjectCacheAdapter.cs:line 48
at HgSharp.Core.HgManifest.get_Item(HgNodeID hgNodeID) in d:\projects\hgsharp\src\HgSharp.Core\HgManifest.cs:line 23
at HgSharp.Core.HgFlowSupport.GetHgFlow(HgRepository hgRepository) in d:\projects\hgsharp\src\HgSharp.Core\HgFlowSupport.cs:line 48
at HgLab.Models.Modellers.RepositoryModeller.<>c__DisplayClassb.<ToRepositoryModel>b__1() in d:\projects\hglab\src\HgLab\Models\Modellers\RepositoryModeller.cs:line 53
at HgLab.Core.Framework.Caching.MemoryCacheObjectCache.GetOrAdd[T](String key, Func`1 valueProvider) in d:\projects\hglab\src\HgLab.Core\Framework\Caching\MemoryCacheObjectCache.cs:line 67
at HgLab.Models.Modellers.RepositoryModeller.ToRepositoryModel(ISecurityPrincipal securityPrincipal, Repository repository, ProjectModel projectModel, HgRepository hgRepository, Boolean includeClosedBranches, Action`1 t) in d:\projects\hglab\src\HgLab\Models\Modellers\RepositoryModeller.cs:line 50
at HgLab.Areas.Project.Controllers.RepositoryController.Files(MainlineRepository repository, String changeset, String path) in d:\projects\hglab\src\HgLab\Areas\Project\Controllers\RepositoryController.cs:line 102
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at HgLab.Core.Framework.Web.HgLabControllerBase.Execute(RequestContext requestContext) in d:\projects\hglab\src\HgLab.Core\Framework\Web\HgLabControllerBase.cs:line 100
at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()
at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f)
at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Anton Gogolev on 23 Oct, 2018 10:18 AM
Hello!
Try pushing the entire repository to HgLab using standard Mercurial client.
2 Posted by Mikhail on 23 Oct, 2018 12:26 PM
Hi Anton,
We mainly use Mercurial client to push entire repository to database, we also tried to copy inside Home\database, but both option failed with error message
Thanks
Mikhail
3 Posted by Mikhail Tsybuls... on 23 Oct, 2018 12:51 PM
Hi Anton,
We only use standard Mercurial client to push repositories to HgLab
Thanks
Mikhail
*From:* Anton Gogolev [mailto:[email blocked]]
*Sent:* 23 October 2018 11:19
*To:* [email blocked]
*Subject:* Re: Problem to copy [Problems #1354]
4 Posted by Mikhail Tsybuls... on 30 Oct, 2018 10:50 AM
Hi Anton,
I haven’t received an answer to this e-mail about how to fix the problem,
we need to fix it urgently. Are you are available today, can we schedule
15-30 minute remote session anytime before 4pm UK time?
Thanks
Mikhail
*From:* Mikhail Tsybulski [mailto:[email blocked]]
*Sent:* 23 October 2018 13:51
*To:* 'Anton Gogolev'
*Subject:* RE: Problem to copy [Problems #1354]
Hi Anton,
We only use standard Mercurial client to push repositories to HgLab
Thanks
Mikhail
*From:* Anton Gogolev [mailto:[email blocked]
<[email blocked]>]
*Sent:* 23 October 2018 11:19
*To:* [email blocked]
*Subject:* Re: Problem to copy [Problems #1354]
5 Posted by Mikhail Tsybuls... on 06 Nov, 2018 04:30 PM
Hi Anton,
I haven’t heard from you for a while, can you let me know when you are
available for a remote session or to instruct me how to fix this error
message, I just wanted to remind to you that we still pay for support and
we would like to resolve this issue as soon as possible
Thanks
Mikhail
*From:* Mikhail Tsybulski [mailto:[email blocked]]
*Sent:* 30 October 2018 10:50
*To:* 'Anton Gogolev'
*Cc:* '[email blocked]'; Paolo Fantini; Peixin Hu
*Subject:* RE: Problem to copy [Problems #1354]
Hi Anton,
I haven’t received an answer to this e-mail about how to fix the problem,
we need to fix it urgently. Are you are available today, can we schedule
15-30 minute remote session anytime before 4pm UK time?
Thanks
Mikhail
*From:* Mikhail Tsybulski [mailto:[email blocked] <[email blocked]>]
*Sent:* 23 October 2018 13:51
*To:* 'Anton Gogolev'
*Subject:* RE: Problem to copy [Problems #1354]
Hi Anton,
We only use standard Mercurial client to push repositories to HgLab
Thanks
Mikhail
*From:* Anton Gogolev [mailto:[email blocked]
<[email blocked]>]
*Sent:* 23 October 2018 11:19
*To:* [email blocked]
*Subject:* Re: Problem to copy [Problems #1354]