Converting: abort: invalid mode ('r') or filename

Andreas Tscharner andy at vis.ethz.ch
Mon Mar 19 09:15:43 CDT 2012


Hello World,

I try to extract single libraries into a single repo from one huge repo 
that was converted from SVN.

C:\Users\ATs\Projects\src\tests\HG-Tests\TBI-53\NewRepo>hg convert -s hg 
--filemap ..\tinyxml-Filemap.txt ..\QUARTIS tinyxml
abort: invalid mode ('r') or filename

tinyxml-Filemap.txt:
#
# Filemap to split TinyXML off the SVN repository

# Exclude everything
exclude "_dev"
exclude "DtpDocuments"
exclude "Installation"
exclude "ProgConverter"
exclude "SDK"
exclude "tests"

# Include tinyxml
include "_dev/src/components/tinyxml"

# Rename it on the top-level directory
rename "_dev/src/components/tinyxml" .


Summary from the huge main repo:
C:\Users\ATs\Projects\src\tests\HG-Tests\TBI-53\QUARTIS>hg summary
parent: 19270:3473bc7eee46 tip
  [US-1399] Add unit test for head orientation view model.
branch: default
commit: (clean)
update: (current)


Summary from the new tinyxml repo:
C:\Users\ATs\Projects\src\tests\HG-Tests\TBI-53\NewRepo\tinyxml>hg summary
parent: 0:0011d5b7502a tip
  tinyxml moved from "QrtBestFit" to "components"
branch: default
commit: (clean)
update: (current)


hg version:
C:\Users\ATs\Projects\src\tests\HG-Tests\TBI-53>hg --version
Mercurial Distributed SCM (version 2.1.1)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2012 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.


IIRC, it worked with version 2.1


Best regards
	Andreas
-- 
       ("`-''-/").___..--''"`-._
        `o_ o  )   `-.  (     ).`-.__.`)
        (_Y_.)'  ._   )  `._ `. ``-..-'
      _..`--'_..-_/  /--'_.' .'
     (il).-''  (li).'  ((!.-'

Andreas Tscharner   andy at vis.ethz.ch   ICQ-No. 14356454


More information about the Mercurial mailing list