bugConcurrent Versions System - Bugs: bug #16896, "cvs -n import -X" fails...


bug #16896: "cvs -n import -X" fails when new directories are to be imported

Submitted by:  Florian Zschocke <floriZ>
Submitted on:  Tue 20 Jun 2006 05:26:17 PM UTC  
Category:  Bug Fix (patch attached) Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 20 Jun 2006 05:26:17 PM UTC, original submission:

Simulating an import to CVS using the -X switch fails, when new directories would be created in the repository by the import. The import with the -X switch would import to the Attic. It tires to create the Attic directory, ignoring the noexec flag, which will fail because the upper directory will not have been created due to the noexec flag.

A patch is provided for import.c that adds a check for the noexec flag to the process_import_file() function when creating the Attic directory.

$ cvs -d /srv/cvs -n import -d -ko -X oe Ope ope-20060405
cvs [import aborted]: cannot make directory `/srv/cvs/oe/Attic': No such file or directory

Florian Zschocke <floriZ>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #10227:  import.c.patch added by floriZ (663B - text/x-patch - Patch for import.c)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-20 floriZ Attached File- => Added import.c.patch, #10227

Back to the top

Powered by Savane 3.3