Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

hg pull -B <bookmark> fails with error: "ref <ref> not found on remote server" #318

Open
travisfw opened this issue Apr 29, 2016 · 0 comments

Comments

@travisfw
Copy link

travisfw commented Apr 29, 2016

Seems like I should be able to pull specific git branches from the remote repo with hg pull -B

This is what the error looks like for me:

$ hg pull -B master
pulling from git+ssh://[email protected]:9999/x.git
abort: ref x not found on remote server
$ echo $?
255
$ hg version
Mercurial Distributed SCM (version 3.7.3)
(see https://mercurial-scm.org for more information)

Copyright (C) 2005-2016 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ python --version
Python 2.7.11
$ pushd ~/ware/hg-git
$ hg par --template "{node|short}\n"
3f5c822b93b1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant