https://bz.mercurial-scm.org/show_bug.cgi?id=6274

            Bug ID: 6274
           Summary: hggit, exception during push
           Product: Mercurial
           Version: 5.0.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: err...@raelity.com
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

(I didn't see an hggit component)
(not latest rev. Hasn't been a TortoiseHg release for a while)

I meant to say "hg push -r NB-archetypes public" but forgot the "-r xxx". But
it looks like it got included anyway.

$ hg paths
default = z:/repos/javafx-maven-archetypes
lz = z:/repos/javafx-maven-archetypes
public = git://github.com/errael/javafx-maven-archetypes
public:pushurl = git+ssh://g...@github.com/errael/javafx-maven-archetypes
upstream = git://github.com/openjfx/javafx-maven-archetypes



$ hg push public
pushing to git+ssh://g...@github.com/errael/javafx-maven-archetypes
searching for changes
adding objects
remote:
remote: Create a pull request for 'NB-archetypes' on GitHub by visiting:
remote:     
https://github.com/errael/javafx-maven-archetypes/pull/new/NB-archetypes
remote:
added 1 commits with 15 trees and 10 blobs
adding reference refs/heads/NB-archetypes
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64
bit (AMD64)]
** Mercurial Distributed SCM (version 5.0.2)
** Extensions loaded: evolve, transplant, rebase, histedit, strip, mq, fetch,
convert, graphlog, share, eol, purge, hggit, extdiff
Traceback (most recent call last):
  File "hg", line 50, in <module>
  File "mercurial\dispatch.pyo", line 99, in run
  File "mercurial\dispatch.pyo", line 225, in dispatch
  File "mercurial\dispatch.pyo", line 376, in _runcatch
  File "mercurial\dispatch.pyo", line 384, in _callcatch
  File "mercurial\scmutil.pyo", line 167, in callcatch
  File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
  File "mercurial\dispatch.pyo", line 1021, in _dispatch
  File "mercurial\dispatch.pyo", line 756, in runcommand
  File "mercurial\dispatch.pyo", line 1030, in _runcommand
  File "mercurial\dispatch.pyo", line 1018, in <lambda>
  File "mercurial\util.pyo", line 1680, in check
  File "mercurial\util.pyo", line 1680, in check
  File "hgext\mq.pyo", line 3631, in mqcommand
  File "mercurial\util.pyo", line 1680, in check
  File "mercurial\commands.pyo", line 4646, in push
  File "mercurial\extensions.pyo", line 439, in closure
  File "hgext3rd\evolve\__init__.pyo", line 790, in push
  File "F:/repos/hg-git\hggit\util.py", line 60, in inner
    return f(*args, **kwargs)
  File "F:/repos/hg-git\hggit\__init__.py", line 384, in exchangepush
    pushop.cgresult = repo.githandler.push(remote.path, revs, force)
  File "F:/repos/hg-git\hggit\git_handler.py", line 428, in push
    self.update_remote_branches(remote_name, new_refs)
  File "F:/repos/hg-git\hggit\git_handler.py", line 1445, in
update_remote_branches
    self.git.refs[new_ref] = sha
  File "dulwich\refs.pyo", line 325, in __setitem__
  File "dulwich\refs.pyo", line 694, in set_if_equals
  File "dulwich\refs.pyo", line 219, in _check_refname
dulwich.errors.RefFormatError: refs/remotes/public:pushurl/NB-archetypes

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to