[issue3405] Archive fails with SVN subrepo

Rarst bugs at mercurial.selenic.com
Fri Apr 27 04:17:03 CDT 2012


New submission from Rarst <contact at rarst.net>:

Trying to archive Mercurial repo with couple of Git and one SVN subrepos.

Archive does get created, but does not include SVN repo and produces 
following in console:

c:\server\www\dev\wp-content\themes\hybrid-wing>hg archive --subrepos "../
exp"
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit 
(AMD64)]
** Mercurial Distributed SCM (version 2.1.2)
** Extensions loaded: onsub, progress
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 27, in run
  File "mercurial\dispatch.pyc", line 64, in dispatch
  File "mercurial\dispatch.pyc", line 87, in _runcatch
  File "mercurial\dispatch.pyc", line 685, in _dispatch
  File "mercurial\dispatch.pyc", line 467, in runcommand
  File "mercurial\dispatch.pyc", line 739, in _runcommand
  File "mercurial\dispatch.pyc", line 693, in checkargs
  File "mercurial\dispatch.pyc", line 682, in <lambda>
  File "mercurial\util.pyc", line 456, in check
  File "mercurial\commands.pyc", line 375, in archive
  File "mercurial\archival.pyc", line 282, in archive
  File "mercurial\subrepo.pyc", line 341, in archive
  File "mercurial\subrepo.pyc", line 745, in files
AttributeError: 'tuple' object has no attribute 'splitlines'

----------
messages: 19778
nosy: Rarst
priority: bug
status: unread
title: Archive fails with SVN subrepo

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


More information about the Mercurial-devel mailing list