Menu

#48 SourceControl plugin: Spaces in Windows file paths

None
open
nobody
None
5
2014-04-20
2002-10-16
No

Under the SourceControl/Visual Source Safe plugin, I
could not use the check in/check out commands when
my local working folder or my source safe project name
have spaces in them, as the file paths are truncated on
the space character on the command line.
I solved this pb by modifying the code to put double
quotes around the file name given in the command line
in MSVisualSourceSafeImpl.java: in the method
convertFileNameToVSSFileName(String fileName) I
added at the end the line ssFileName
= "\""+ssFileName+"\"";
By the way if you are interested I have played with the
code and manually added commands to undo checkout
and to get the latest version of a file.
Thanks for this great plugin!

Laurent

Discussion

  • Slava Pestov

    Slava Pestov - 2003-05-29
    • labels: 102671 -->
    • milestone: 101608 -->
     
  • stuart barlow

    stuart barlow - 2004-02-18

    Logged In: YES
    user_id=465628

    Thanks for the bug report. This should have been fixed and a
    new release is on the way soon, with some new features.

     
  • Alan Ezust

    Alan Ezust - 2014-04-20
    • summary: Spaces in Windows file paths(VSSPlugin) --> SourceControl plugin: Spaces in Windows file paths
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB