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: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 
Fixed Release: NoneFixed Feature Release: None

Add a New Comment (Rich MarkupRich 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.

Testcase:
$ 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 File(s):
   
   
Comment:
   

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 20 Jun 2006 05:26:17 PM UTCfloriZAttached File-=>Added import.c.patch, #10227

Back to the top


Powered by Savane 3.1-cleanup