[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-issues
Subject: [Issue 4527] New - svn export does not announce fetching of externals
From: mschmidt () tigris ! org
Date: 2014-11-12 15:02:35
Message-ID: iz4527 () subversion ! tigris ! org
[Download RAW message or body]
http://subversion.tigris.org/issues/show_bug.cgi?id=4527
Issue #|4527
Summary|svn export does not announce fetching of externals
Component|subversion
Version|1.8.x
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|libsvn_client
Assigned to|issues@subversion
Reported by|mschmidt
------- Additional comments from mschmidt@tigris.org Wed Nov 12 07:02:34 -0800 2014 \
------- The below problem was (without the nested externals) posted and approved as \
bug on the users-mailinglist: \
http://mail-archives.apache.org/mod_mbox/subversion-dev/201411.mbox/%3C545B42995E120549B32D104E70ED2802E0591A1A%40srv-dag-01.fme.lan%3E
When I export something which contains externals, subversion only prints "Exported \
revision X" after fetching an external, in contrast to a checkout, where you get an \
announcement before fetching an external starts and where the message after fetching \
an external also explicitly states that an external was fetched. Additionally, \
checkout does not handle *nested* externals correctly: As soon as one external is \
finished, the is_internal flag is reset to false and thus an external which has \
nested externals will use the normal (non-external) log message upon completion.
Imagine a trivial repository with just an empty folder hierarchy \
"Parent/Child/Grandchild" and two externals: In /: ^/Parent ExternalDir
In /Parent: ^/Parent/Child ExternalChild
Then, I get the following logs for checkout and export:
================================
CHECKOUT
================================
A TestRepo_CO2\Parent
A TestRepo_CO2\Parent\Child
A TestRepo_CO2\Parent\Child\Grandchild
U TestRepo_CO2
Fetching external item into 'TestRepo_CO2\ExternalDir':
A TestRepo_CO2\ExternalDir\Child
A TestRepo_CO2\ExternalDir\Child\Grandchild
U TestRepo_CO2\ExternalDir
Fetching external item into 'TestRepo_CO2\ExternalDir\ExternalChild':
A TestRepo_CO2\ExternalDir\ExternalChild\Grandchild
Checked out external at revision 2.
Checked out revision 2.
Fetching external item into 'TestRepo_CO2\Parent\ExternalChild':
A TestRepo_CO2\Parent\ExternalChild\Grandchild
Checked out external at revision 2.
Checked out revision 2.
================================
================================
EXPORT
================================
A TestRepo_Export
A TestRepo_Export\Parent
A TestRepo_Export\Parent\Child
A TestRepo_Export\Parent\Child\Grandchild
A TestRepo_Export\Parent\ExternalChild
A TestRepo_Export\Parent\ExternalChild\Grandchild
Exported revision 2.
A TestRepo_Export\ExternalDir
A TestRepo_Export\ExternalDir\Child
A TestRepo_Export\ExternalDir\Child\Grandchild
A TestRepo_Export\ExternalDir\ExternalChild
A TestRepo_Export\ExternalDir\ExternalChild\Grandchild
Exported revision 2.
Exported revision 2.
Exported revision 2.
================================
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3091236
To unsubscribe from this discussion, e-mail: \
[issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic