Project

General

Profile

Actions

Bug #5414

open

When Opening New Pull Request, Target Revision Default Is Undesireable

Added by Peter Rebholz over 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
12.01.2018
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Version Info:

RhodeCode 4.10.6 Enterprise Edition
CentOS 7
PostgreSQL 10.1

Issue:

We're testing out upgrading to 4.10.6 from a fairly old version and hit a snag that is going to keep us from upgrading. When opening a new pull request for a Hg repository, initiated from the Changelog screen, the default target revision is particularly poor for our workflow/use case. We're seeing it default to the default branch or, in repositories where the default branch is closed, the very first revision of the repository. It takes a really long time for RhodeCode to count every commit from the beginning of time to the present and further, if you change the branch while it's working, you get a browser alert dialog (see attached).

This has a significant impact on our workflow as every user is going to hit this every time they try and open a pull request. We use bookmarks as the source revision for pull requests so and are usually requesting things be merged into the same branch, thus the best default for us would be the same branch. However, having no default would be preferable to the wrong default and a long processing time + error pop-up.

The only workaround I have found is initiating the pull request from the pull requests page and setting the target revision before setting the source revision. This isn't a great work around.


Files

Actions

Also available in: Atom PDF