SVN format 9 is the same it seems

This commit is contained in:
Benjamin Peterson 2008-11-28 23:18:46 +00:00
parent 2555d9ddeb
commit 6ed1c93c96

View file

@ -39,9 +39,9 @@ def propfiles(root, fn):
format = int(open(os.path.join(root, ".svn", "format")).read().strip()) format = int(open(os.path.join(root, ".svn", "format")).read().strip())
except IOError: except IOError:
return [] return []
if format == 8: if format in (8, 9):
# In version 8, committed props are stored in prop-base, # In version 8 and 9, committed props are stored in prop-base, local
# local modifications in props # modifications in props
return [os.path.join(root, ".svn", "prop-base", fn+".svn-base"), return [os.path.join(root, ".svn", "prop-base", fn+".svn-base"),
os.path.join(root, ".svn", "props", fn+".svn-work")] os.path.join(root, ".svn", "props", fn+".svn-work")]
raise ValueError, "Unknown repository format" raise ValueError, "Unknown repository format"