Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-3
-
None
-
Linux (run via Continuum)
Description
Checkout fails on Unix: Lets assume it uses /abc/def/1 as a working directory
First thing it does is it removes /abc/def/1 directory and than sets working directory to /abc/def/1/.. with:
command.setWorkingDirectory( new File( workingDirectory,"..").getAbsolutePath() );
But because /abc/def/1 does not exists at this point command execution fails (on Unix - I do not know how it works on Windows). It should set it to /abc/def using
command.setWorkingDirectory( workingDirectory.getParentFile() ); (as suggested by Emmanuel)
This change is to be introduced in ClearCaseCheckOutCommand.java.