When --dist is used remote branch is hardcoded without origin and causes ambiguity problem to git:
$ rhpkg --dist rhel-6.7 build --arches x86_64 --target RHEL-6.7-Z-test - -scratch 128: fatal: ambiguous argument './rhel-6.7...private-my-branch-rhel-6.7': unknown revision or path not in the working tree.
$ rhpkg --dist rhel-6.7 build --arches x86_64 --target RHEL-6.7-Z-test - -scratch
128: fatal: ambiguous argument './rhel-6.7...private-my-branch-rhel-6.7': unknown revision or path not in the working tree.
@pbabinca is this issue still valid now? Could you provide more details of environment and steps to reproduce it? Using rhpkg --debug should be helpful to know where the error happens.
rhpkg --debug
I tried to reproduce this issue within a repository cloned from dist-git server, but it looks I didn't meet this issue as a Kerberos authentication issue happened when internal _kojisession logs into Koji by calling krb_login.
_kojisession
krb_login
I wasn't able to reproduce this either. Feel free to close if you want to.
Close this issue. Feel free to reopen if it happens again.