You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/06/03 17:32:04 UTC

[11/31] git commit: [#6235] ticket:352 Fix path existence check

[#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/cj/merge-request-4
Commit: 91b68daffc63f5bdb3f36703a1e4905b0c4cbc36
Parents: c0fb628
Author: Igor Bondarenko <je...@gmail.com>
Authored: Fri May 17 16:17:51 2013 +0000
Committer: Dave Brondsema <db...@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