incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [07/21] git commit: [#6235] ticket:352 Fix path existence check
Date Mon, 03 Jun 2013 13:37:49 GMT
[#6235] ticket:352 Fix path existence check


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/91b68daf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/91b68daf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/91b68daf

Branch: refs/heads/master
Commit: 91b68daffc63f5bdb3f36703a1e4905b0c4cbc36
Parents: c0fb628
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri May 17 16:17:51 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri May 31 22:14:08 2013 +0000

----------------------------------------------------------------------
 ForgeSVN/forgesvn/model/svn.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/91b68daf/ForgeSVN/forgesvn/model/svn.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py
index 363dd27..9d0a521 100644
--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -125,7 +125,7 @@ def svn_path_exists(path, rev=None):
     if rev:
         rev = pysvn.Revision(pysvn.opt_revision_kind.number, rev)
     else:
-        rev = pysvn.Revision(pysvn.opt_revision_kind.unspecified)
+        rev = pysvn.Revision(pysvn.opt_revision_kind.head)
     try:
         svn.info2(path, revision=rev)
         return True


Mime
View raw message