# HG changeset patch # User jrice@netbeans.org # Date 1207154142 -3600 # Node ID d79a7c659c6479a3eb5fd7958668929922b05fa3 # Parent 0b7d4a0c3043ac66037a95640a87aed7a956c1fc #131440: add hint for Clone Wizard for Windows if using DOMAIN\username must use DOMAIN%5Cusername in uri diff -r 0b7d4a0c3043 -r d79a7c659c64 mercurial/src/org/netbeans/modules/mercurial/ui/repository/Repository.java --- a/mercurial/src/org/netbeans/modules/mercurial/ui/repository/Repository.java Wed Apr 02 16:12:06 2008 +0100 +++ b/mercurial/src/org/netbeans/modules/mercurial/ui/repository/Repository.java Wed Apr 02 17:35:42 2008 +0100 @@ -78,6 +78,7 @@ import org.openide.ErrorManager; import org.openide.ErrorManager; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; +import org.openide.util.Utilities; /** * @author Tomas Stupka @@ -92,8 +93,12 @@ public class Repository implements Actio public final static int FLAG_SHOW_PROXY = 64; private final static String LOCAL_URL_HELP = "file:///repository_path"; // NOI18N - private final static String HTTP_URL_HELP = "http://[username[:password]@]hostname/repository_path"; // NOI18N - private final static String HTTPS_URL_HELP = "https://[username[:password]@]hostname/repository_path"; // NOI18N + private final static String HTTP_URL_HELP = Utilities.isWindows()? + "http://[DOMAIN%5C[username[:password]@]hostname/repository_path": // NOI18N + "http://[username[:password]@]hostname/repository_path"; // NOI18N + private final static String HTTPS_URL_HELP = Utilities.isWindows()? + "https://[DOMAIN%5C[username[:password]@]hostname/repository_path": // NOI18N + "https://[username[:password]@]hostname/repository_path"; // NOI18N private final static String STATIC_HTTP_URL_HELP = "static-http://hostname/repository_path"; // NOI18N private final static String SSH_URL_HELP = "ssh://hostname/repository_path"; // NOI18N