Mercurial > hg4j
diff src/org/tmatesoft/hg/core/Path.java @ 77:c677e1593919
Moved RevlogStream implementation into .internal
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 24 Jan 2011 05:33:47 +0100 |
parents | 19e9e220bf68 |
children | a3a2e5deb320 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/Path.java Mon Jan 24 04:38:09 2011 +0100 +++ b/src/org/tmatesoft/hg/core/Path.java Mon Jan 24 05:33:47 2011 +0100 @@ -69,6 +69,9 @@ if (path == null) { throw new IllegalArgumentException(); } + if (path.indexOf('\\') != -1) { + throw new IllegalArgumentException(); + } Path rv = new Path(path); return rv; }