11:33:44.714: [ui-entities-feature] git -c core.quotepath=false push --progress --porcelain origin refs/heads/feature/FRWKUIE-110-remove-the-country-field-from:feature/FRWKUIE-110-remove-the-country-field-from Counting objects: 29, done. Delta compression using up to 8 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (9/9), 698 bytes | 0 bytes/s, done. Total 9 (delta 4), reused 0 (delta 0) remote: Hook ca.bitbooster.impl.PreserveFirstParentHook failed. Error: [K remote: '/usr/bin/git rev-list --format=%H,%P#%B%x04 --topo-order f0347775a3c67269b62946a0bb4b4d863fe6bbe5..59489ed2881a668c726c7473da0c694cbfded8e5 ^master --' exited with code 128 saying: fatal: Invalid revision range f0347775a3c67269b62946a0bb4b4d863fe6bbe5[K error: failed to push some refs to 'https://vramesh@eafrmwrk.arccorp.com/git/scm/ui/ui-entities.git' To https://vramesh@eafrmwrk.arccorp.com/git/scm/ui/ui-entities.git ! refs/heads/feature/FRWKUIE-110-remove-the-country-field-from:refs/heads/feature/FRWKUIE-110-remove-the-country-field-from [remote rejected] (pre-receive hook declined) Done
Is it a known bug?
It could be related to Bitbucket Server's own current incompatibility with Git 2.11+. Notice this from the latest Bitbucket Server documentation:
Do NOT upgrade to Git 2.11+
Any version after Git 2.11.0 (including future 2.12+ releases) cannot be used with Bitbucket Server. Bitbucket Server 4.12 will fail on startup if Git 2.11+ is detected. Only upgrade to versions of Git which are explicitly marked supported on our Supported Platforms page.
BSERV-9388 - Pre-receive hooks and branch permissions reject valid pushes on git 2.11
The BSERV-9388 ticket itself contains some additional information:
Bitbucket Server 4.12 will fail on startup if Git 2.11+ is detected. However, older versions of Bitbucket Server (and Stash) are not aware of the 2.11 issues (since it was released after they were), but will still be broken by them. Administrators are strongly encouraged to only upgrade to Git versions which are explicitly marked supported on ourSupported Platforms for the version of the product they're running.
I've tried to reproduce this based on what you posted, but I can't. A few questions:
You said you're using git 2.11 in this question, but I'd like to know if that's client or server or both.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.