mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
SVN format 9 is the same it seems
This commit is contained in:
parent
2555d9ddeb
commit
6ed1c93c96
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue