bugConcurrent Versions System - Bugs: bug #16886, "cvs import" wrong error...

 
 

bug #16886: "cvs import" wrong error message?

Submitter:  None
Submitted:  Mon 19 Jun 2006 04:32:15 PM UTC
   
 
Category:  Bug Report Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release: 
Fixed Release:  1.11.23 Fixed Feature Release:  1.12.14
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 19 Jun 2006 04:32:15 PM UTC, original submission:  

When importing sources cvs seems to generate an incorrect error message when it cannot chdir to a local directory to be imported.

At least this is how I read the sources in import.c, lines 1811 to 1818:
-------------------------------------------------------------------
if (CVS_CHDIR (dir) < 0)
{
    ierrno = errno;
    fperrmsg (logfp, 0, ierrno, "ERROR: cannot chdir to %s", repository);
    error (0, ierrno, "ERROR: cannot chdir to %s", repository);
-------------------------------------------------------------------

It tries to change to the local directory "dir" but reports that it couldn't change to the repository directory "repository".

Is this by design? If yes, isn't this somewhat confusing?

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by scjones (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-22 scjones StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 1.11.23
        Fixed Feature ReleaseNone 1.12.14

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code