RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 855474 - svn mkdir --parents generates extraneous directories when the targets already exist.
Summary: svn mkdir --parents generates extraneous directories when the targets already...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subversion
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Joe Orton
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-07 23:02 UTC by Trevin Beattie
Modified: 2017-10-17 07:54 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-17 07:54:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Shell script which runs "svn mkdir --parents" with three nested directories (339 bytes, application/x-shellscript)
2012-09-07 23:02 UTC, Trevin Beattie
no flags Details
Access log from the subversion server (17.66 KB, text/plain)
2012-09-07 23:07 UTC, Trevin Beattie
no flags Details

Description Trevin Beattie 2012-09-07 23:02:35 UTC
Created attachment 610856 [details]
Shell script which runs "svn mkdir --parents" with three nested directories

Description of problem:
I noticed this when writing an application with the Perl bindings, and later confirmed it when using the command-line client with similar options.  If I use the --parents option when creating multiple directories in a subversion repository, and those directories already exist, the client generates additional directories that were not in the request.  For example, a repeated request to create "test/one", "test/one/two", and "test/one/two/three" results in creating "test/one/two/one/two/three".

Version-Release number of selected component (if applicable):
1.6.11-7.el6; also seen in 1.6.11-10.el5_8

How reproducible:
Always (provided one starts with a non-existent parent directory).

Steps to Reproduce:
1. Run the attached shell script, giving in the URL of a new directory in a subversion repository.
2. Run the script again with the same URL.
  
Actual results:
It creates the child directories one/two/one/two/three.

Expected results:
Should have returned an error "405 Method Not Allowed".

Additional info:
I will also be adding the access logs from the subversion server which show the client sending requests to create directories that it shouldn't.

Comment 1 Trevin Beattie 2012-09-07 23:07:09 UTC
Created attachment 610858 [details]
Access log from the subversion server

The log entries from the first time I ran the shell script have a time stamp of 07/Sep/2012:13:38:32-38:42.  The second time I ran the shell script was at 07/Sep/2012:13:38:51-38:57.

Comment 3 RHEL Program Management 2013-10-14 00:28:19 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 7 Red Hat Bugzilla Rules Engine 2017-10-17 07:54:23 UTC
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.