If the password was specified, pass it to the filesystem. BLD200410131800
authormentlicher@netbeans.org
Wed, 13 Oct 2004 14:30:00 +0000
changeset 5331dadfe03b46a0
parent 5330 c4d62cf56181
child 5332 37f4e91f3756
If the password was specified, pass it to the filesystem.
This is a fix of issue #50157.
vcs.profiles.vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssGlobalRegister.java
     1.1 --- a/vcs.profiles.vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssGlobalRegister.java	Wed Oct 13 11:53:17 2004 +0000
     1.2 +++ b/vcs.profiles.vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssGlobalRegister.java	Wed Oct 13 14:30:00 2004 +0000
     1.3 @@ -61,7 +61,9 @@
     1.4          String workPath = (String)vars.get("ROOTDIR");                        //NOI18N
     1.5          if(workPath != null) addVars.put("ROOTDIR",workPath);           //NOI18N
     1.6          String username = (String)vars.get("USER_NAME");                        //NOI18N
     1.7 -        if(username != null) addVars.put("USER_NAME",username);         //NOI18N     
     1.8 +        if(username != null) addVars.put("USER_NAME",username);         //NOI18N 
     1.9 +        String password = (String)vars.get("PASSWORD");                 //NOI18N
    1.10 +        if (password != null) addVars.put("PASSWORD", password);
    1.11          
    1.12          File dir = new File(workPath);
    1.13          FSRegistry registry = FSRegistry.getDefault();