##// END OF EJS Templates
git: use force fetch and update for target ref. This solves a case...
git: use force fetch and update for target ref. This solves a case when in PRs a target is force updated and is out of sync. Before we used a pull which --ff-only fails obviosly because two are out of sync. This change uses new logic that resets the target branch according to the source target branch allowing smooth merge simulation.

File last commit:

r1:854a839a default
r2784:e8c62649 default
Show More
tuning-hg-auth-loop.rst
17 lines | 482 B | text/x-rst | RstLexer
/ docs / admin / tuning-hg-auth-loop.rst

|hg| Authentication Tuning

When using external authentication tools such as LDAP with |hg|, a password retry loop in |hg| can result in users being locked out due to too many failed password attempts. To prevent this from happening, add the following setting to your :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file, in the [app:main] section.

[app:main]
auth_ret_code_detection = true