HgLab Error after pushing changeset, can't open repository anymore

m.beckman's Avatar

m.beckman

20 Jul, 2016 10:11 AM

Hi,

I made a change in a file one of our repositories, and committed the change and pushed it to the server.

The server gave an error back (see TortoiseHg log) and now when i want to open the repository on the server i get a HgLab error. (see hglab error)

We are using HgLab 1.10.6 Team.

It looks like this is the only repository with this error, i did the same steps (made a change and commit and push) in another repository and that one still works.

Any idea how to fix this issue would be much appreciated.

4DMS
Maurice Beckman

TortoiseHg log

% hg incoming --quiet --bundle "c:\users\m8dbf~1.bec\appdata\local\temp\thg.jvmm6r\[email blocked]" http://m.beckman@4dmsappl01/hg/4dms_scripts/eneco
[command returned code 1 Wed Jul 20 11:10:25 2016]
% hg commit --verbose "--message=RFC80 Boetevergoedingen digitaal fase 1 " --user "m.beckman <[email blocked]>" -- ecp_rapp/import_new.sh
committing files:
ecp_rapp/import_new.sh
committing manifest
committing changelog
committed changeset 164:d1692afef10f
[command completed successfully Wed Jul 20 11:50:18 2016]
% hg outgoing --template {node}^M http://m.beckman@4dmsappl01/hg/4dms_scripts/eneco
comparing with http://m.beckman@4dmsappl01/hg/4dms_scripts/eneco
searching for changes
[command completed successfully Wed Jul 20 11:50:35 2016]
% hg log -T {rev}^M -r 163:168
[command completed successfully Wed Jul 20 11:50:35 2016]
% hg push --new-branch http://m.beckman@4dmsappl01/hg/4dms_scripts/eneco
pushing to http://m.beckman@4dmsappl01/hg/4dms_scripts/eneco
searching for changes
remote: welcome to 4DMS Versiebeheer
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 6 changesets with 2 changes to 2 filesHTTP fout: 500 (Internal Server Error)
[command returned code 255 Wed Jul 20 11:50:37 2016]
% hg incoming --quiet --bundle "c:\users\m8dbf~1.bec\appdata\local\temp\thg.jvmm6r\[email blocked]" http://m.beckman@4dmsappl01/hg/4dms_scripts/eneco
HTTP fout: 500 (Internal Server Error)
[command returned code 255 Wed Jul 20 11:51:01 2016]
HgLab error

System.ArgumentException: Value does not fall within the expected range.
   at HgSharp.Core.HgRevlog.GetEntries(UInt32 startRevision, UInt32 endRevision) in d:\projects\hgsharp\src\HgSharp.Core\HgRevlog.cs:line 99
   at HgSharp.Core.HgRevlogReader.ReadRevlogEntriesBuffer(UInt32 startRevision, UInt32 endRevision, Byte[]& buffer, Boolean& usedPivot, HgRevlogEntryData pivotRevlogEntryData) in d:\projects\hgsharp\src\HgSharp.Core\HgRevlogReader.cs:line 110
   at HgSharp.Core.HgRevlogReader.<ReadRevlogEntries>d__18.MoveNext() in d:\projects\hgsharp\src\HgSharp.Core\HgRevlogReader.cs:line 74
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at HgSharp.Core.HgRepository.GetBranches() in d:\projects\hgsharp\src\HgSharp.Core\HgRepository.cs:line 176
   at HgSharp.Core.HgFlowSupport.GetHgFlow(HgRepository hgRepository) in d:\projects\hgsharp\src\HgSharp.Core\HgFlowSupport.cs:line 46
   at HgLab.Models.Modellers.RepositoryModeller.<>c__DisplayClassb.<ToRepositoryModel>b__1() in c:\Projects\hglab\src\HgLab\Models\Modellers\RepositoryModeller.cs:line 53
   at HgLab.Core.Framework.Caching.MemoryCacheObjectCache.GetOrAdd[T](String key, Func`1 valueProvider) in c:\Projects\hglab\src\HgLab.Core\Framework\Caching\MemoryCacheObjectCache.cs:line 65
   at HgLab.Models.Modellers.RepositoryModeller.ToRepositoryModel(ISecurityPrincipal securityPrincipal, Repository repository, ProjectModel projectModel, HgRepository hgRepository, Boolean includeClosedBranches, Action`1 t) in c:\Projects\hglab\src\HgLab\Models\Modellers\RepositoryModeller.cs:line 50
   at HgLab.Areas.Project.Controllers.RepositoryController.Files(MainlineRepository repository, String changeset, String path) in c:\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 c:\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)
  1. Support Staff 1 Posted by Anton Gogolev on 24 Jul, 2016 11:36 AM

    Anton Gogolev's Avatar

    Hi, Maurice!

    This was just a usual commit with a parent (or two) or it was one that
    created a new root (like this http://i.stack.imgur.com/CPafC.png )?

  2. 2 Posted by m.beckman on 25 Jul, 2016 07:02 AM

    m.beckman's Avatar

    Hi Anton,

    It was a regular commit, no strange branches or weird rebases or strips.

    We use HgFlow in all of our repositories, this repo is no exception, I made a hotfix branch from the default (master) branch, made my change, committed it and closed the branch, which results in the hotfix being merged to default (master) and develop. (see image)

    [cid:[email blocked]]

    Mvgr,

    Maurice

    Met vriendelijke groet,

    Maurice Beckman
    Developer

    [http://myclang.dmcampagne.eu/pub/emailings/4dms/autohand/phone.png] +31 30 850 1878

    [http://myclang.dmcampagne.eu/pub/emailings/4dms/autohand/website.png] www.4dms.nl<http://www.4dms.nl>

    KvK nummer 08054165

    Van: Anton Gogolev [mailto:[email blocked]]
    Verzonden: zondag 24 juli 2016 13:37
    Aan: Beckman, Maurice
    Onderwerp: Re: HgLab Error after pushing changeset, can't open repository anymore [Problems #1011]

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

18 Feb, 2019 09:20 AM
26 Nov, 2018 01:47 PM
16 Nov, 2018 07:51 PM
06 Nov, 2018 04:30 PM
24 Oct, 2018 07:57 AM

 

20 Jul, 2018 11:07 PM
05 Jul, 2018 10:53 AM
27 May, 2018 01:33 AM
14 May, 2018 03:38 PM
04 May, 2018 07:45 AM
28 Feb, 2018 07:08 AM