idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
[idok-commit] idok commit r367 - branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn
Chronological Thread
- From: "AFS account Stadler Hans Christian" <stadler_h AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r367 - branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn
- Date: Tue, 9 Jun 2009 09:18:49 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: stadler_h
Date: Tue Jun 9 09:18:48 2009
New Revision: 367
Log:
improved logging for svnUrl initialisation
Modified:
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryId.java
Modified:
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryId.java
==============================================================================
---
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryId.java
(original)
+++
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryId.java
Tue Jun 9 09:18:48 2009
@@ -123,6 +123,7 @@
* @throws DmsException
*/
private void init(URI uri) throws DmsException {
+ URI repoURI = null;
try {
// Parse user/pass from URI
String userInfo = uri.getUserInfo();
@@ -137,7 +138,7 @@
svnPassword = userInfo.substring(at + 1);
}
// Remove user/pass and normalise URI
- URI repoURI = URIUtil.normalizeURI(uri);
+ repoURI = URIUtil.normalizeURI(uri);
svnUrl = SVNURL.parseURIEncoded(repoURI.toASCIIString());
} catch (URISyntaxException e) {
@@ -145,7 +146,7 @@
"", e);
} catch (SVNException e) {
throw new DmsException(ErrorType.REPO_ID, this,
- "Invalid subversion URL", "", e);
+ "Invalid subversion URL", repoURI.toString(), e);
}
}
- [idok-commit] idok commit r367 - branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn, AFS account Stadler Hans Christian, 06/09/2009
Archive powered by MHonArc 2.6.19.