Page 1 of 1

Can't add revision to new Review

Posted: Mon 28 Nov 2016 11:15
by Eugine
Whenever I attempt to create new regular review and add revisions to this review I'm receiving following error:
--------------------------------
Review Assistant
--------------------------------
Version control access error.
--------------------------------
Command: log "" --removed -r "sort(all(), -rev)" --encoding=UTF-8 -T "C:\Program Files\Devart\Review Assistant\map-cmdline.hgmap" --limit 1000 -b IN-2861
Working Directory: C:\Dev\workignDir
Message: abort: unknown revision 'IN-2861'!


Perhaps you have not pulled changes to your local repository.
--------------------------------
OK
--------------------------------
Branch field is prefilled with IN-2861, and I don't see how I can clean it from this error value.

We are using HG as a version control. I'm using Review Assistant version 3.2.146

Any advice is highly welcome as currently I'm unable to use your software

Re: Can't add revision to new Review

Posted: Mon 28 Nov 2016 11:46
by Eugine
upgraded to latest version of ReviewAssistance same error

Re: Can't add revision to new Review

Posted: Tue 29 Nov 2016 10:34
by Artem
It seems that you specify a nonexistent branch in the dialog:
Image

Re: Can't add revision to new Review

Posted: Wed 30 Nov 2016 11:02
by Eugine
First of all, thanks for reply.

Yes, indeed it looks like it cached some branch name which doesn't exist in repository, but main question is how can I reset that field.
Right now once I click on "Add revisions..." link for new Review I get following error:
Image

and once I press on OK, whole dialog is closed, so I can't clear "Branch" value in dialog

Re: Can't add revision to new Review

Posted: Wed 30 Nov 2016 12:23
by Artem
Is the IN-2861 listed if you run "hg.exe branches" command in your working directory? If so, it is very strange that mercurial can not show revisions for that branch.

The easiest workaround is to remove settings.xml and restart Visual Studio. The folder with Review Assistant settings:
%appdata%\Devart\Review Assistant

Nevertheless, in the next version we will handle such situations and allow to change branch in the dialog.

Re: Can't add revision to new Review

Posted: Wed 30 Nov 2016 16:00
by Eugine
Is the IN-2861 listed if you run "hg.exe branches" command in your working directory?
no, it's not in the list indeed.
The easiest workaround is to remove settings.xml and restart Visual Studio. The folder with Review Assistant settings:
%appdata%\Devart\Review Assistant
Great! exactly what I was looking for. I've removed text "IN-2861" from <Branch></Branch> tag. there was one occurrence of this text in this file.

Now everything works fine.
Many thanks for your support.