[issue3110] Error converting Mercurial to SVN

Richard bugs at mercurial.selenic.com
Fri Nov 18 07:15:27 CST 2011


New submission from Richard <r1w3n at yahoo.com>:

Mercurial 2.0 (used in TortoiseHg 2.2) on Windows XP 32bit SP3

The problem occurs when I do the following:

Create a new repository, add a file, commit, rename the file using the
TortoiseHg rename function and commit again.

Running the conversion again immediately after the error (as suggested on
stackoverflow for status code 256) leads to the same result:

abort: svn exited with status 1


C:\>hg convert --debug --traceback --dest-type svn src-rep-name dst-rep-name
initializing svn repository 'dst-rep-name'
running: "svnadmin" "create" "C:\dst-rep-name" < NUL:
initializing svn working copy 'dst-rep-name-wc'
running: "svn" "checkout" "file:///C:/dst-rep-name" "C:\dst-rep-name-wc" < NUL:
Checked out revision 0.
running: "svn" "info" < NUL:
Path: .
Working Copy Root Path: C:\dst-rep-name-wc
URL: file:///C:/dst-rep-name
Repository Root: file:///C:/dst-rep-name
Repository UUID: 0cdd9b5b-1e06-bd42-9e5e-123472fc293b
Revision: 0
Node Kind: directory
Schedule: normal
Last Changed Rev: 0
Last Changed Date: 2011-11-17 13:56:33 +0100 (Do, 17 Nov 2011)

run hg source pre-conversion action
scanning source...
scanning: 1 revisions
scanning: 2 revisions
scanning: 3 revisions
sorting...
converting...
2 commit <<issue 0>>
source: 3357616af586454991908a7b1179d44943344058
converting: 0/3 revisions (0.00%)
getting files: file1.txt 1/1 (100.00%)
running: "svn" "add" "file1.txt" "--quiet" < NUL:
running: "svn" "propdel" "svn:executable" "file1.txt" < NUL:
Attempting to delete nonexistent property 'svn:executable' on 'file1.txt'
running: "svn" "commit" "--username=testuser"
"--file=c:\dokume~1\testuser\lokale~1\temp\hg-convert-gejm3t"
"--encoding=utf-8" < NUL:
Adding         file1.txt
Transmitting file data .
Committed revision 1.
1 commit <<issue 1>>
source: b87fb6eb73586976adb85db30e35577c1e7bb337
converting: 1/3 revisions (33.33%)
getting files: file1.txt 1/1 (100.00%)
running: "svn" "add" "file1.txt" "--quiet" < NUL:
run hg source post-conversion action
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 87, in _runcatch
  File "mercurial\dispatch.pyo", line 684, in _dispatch
  File "mercurial\dispatch.pyo", line 466, in runcommand
  File "mercurial\dispatch.pyo", line 738, in _runcommand
  File "mercurial\dispatch.pyo", line 692, in checkargs
  File "mercurial\dispatch.pyo", line 681, in <lambda>
  File "mercurial\util.pyo", line 454, in check
  File "hgext\convert\__init__.pyo", line 269, in convert
  File "hgext\convert\convcmd.pyo", line 445, in convert
  File "hgext\convert\convcmd.pyo", line 361, in convert
  File "hgext\convert\convcmd.pyo", line 330, in copy
  File "hgext\convert\subversion.pyo", line 1135, in putcommit
  File "hgext\convert\subversion.pyo", line 1089, in add_files
  File "hgext\convert\common.pyo", line 365, in xargs
  File "hgext\convert\common.pyo", line 316, in run0
  File "hgext\convert\common.pyo", line 312, in checkexit
Abort: svn exited with status 1
abort: svn exited with status 1

----------
messages: 18106
nosy: r1w3n
priority: bug
status: unread
title: Error converting Mercurial to SVN
topic: convert

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3110>
____________________________________________________


More information about the Mercurial-devel mailing list