1. Sebastian Sebastian
  2. scm-manager
  3. Issues


Issue #318 resolved

"REPO does not appear to be an hg repository" after clone / push

created an issue
  • I install standalone version and run it (windows server 2003 R2, python 27 32 bit, mercurial 2.5, tortoise hg 2.6.1)
  • I create empty hg repo "test"
  • works fine
  • i open command prompt and try to clone
D:\temp>hg clone http://scmadmin@
http authorization required
realm: SONIA :: SCM Manager
user: scmadmin
destination directory: test
no changes found
abort: '' does not appear to be an hg repositor
---%<--- (no content-type)

  • if i try to clone from filesystem, all works fine
D:\temp>hg clone c:\data\hgrep\test
destination directory: test
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
  • i receive same error if i try to push

Comments (11)

  1. enji81 reporter

    sorry, after page reload radiobutton "download and install" become enable. see screenshot "afterInstall"

    but now dont work. In log I see:

    11:32:59.893 [qtp1624616274-20] INFO  sonia.scm.installer.HgPackageReader - fetch HgPackages from http://download.scm-manager.org/pkg/mercurial/packages.xml
    11:36:29.328 [Thread-48] WARN  sonia.scm.web.cgi.DefaultCGIExecutor - Traceback (most recent call last):
      File "C:\Documents and Settings\johnny\.scm\lib\python\hgweb.py", line 34, in <module>
        from mercurial import demandimport
    ImportError: No module named mercurial
    11:36:29.328 [qtp1624616274-21] WARN  sonia.scm.web.HgCGIExceptionHandler - Mercurial/Python process ends with return code 1
  2. enji81 reporter

    I copy "c:\Documents and Settings\johnny.scm\pkg\6802c0\hg\2.4.1\lib\hgext" and "c:\Documents and Settings\johnny.scm\pkg\6802c0\hg\2.4.1\lib\mercurial" to "c:\Documents and Settings\johnny.scm\pkg\6802c0\python\2.7.3\Lib\site-packages"

    Now clone and push works fine.

    But why this dont work with my default python installation? Can I change something in configuration or this is your bag?

    I have java 64 bits and python 32 bits. May be its incompatible?

  3. Log in to comment