What is the maximum revision number supported by S

2019-04-18 01:28发布

What is the maximum revision number supported by SVN? The repo is of type FSFS, hosted on a Fedora box.

Thank you,

4条回答
beautiful°
2楼-- · 2019-04-18 01:55

Possibly more than 2 billion. There is an interesting discussion at http://svn.haxx.se/users/archive-2005-03/0394.shtml

查看更多
劳资没心,怎么记你
3楼-- · 2019-04-18 02:06

The time based answers assume that only one person is doing the commits. Here, we have at least a dozen... but they're all working, not posting commits once a second. Then again, it depends on how well you use the tool. You can commit parts of a project at a time, instead of the whole project at once. ... but given the other answers, this point is really moot.

查看更多
做个烂人
4楼-- · 2019-04-18 02:14

I guess it is large enough not to bother.

Let's suppose it is stored in a 32 bit value. This means that if you commit once a second, you'll need 136 years to get an overflow.

查看更多
Emotional °昔
5楼-- · 2019-04-18 02:15

If you're using a 32-bit computer it's 2147483647, that's 231-1, the maximum value of a signed 32-bit integer. For a 64-bit computer, it's... more. In any case, it should be enough for any practical purpose where humans are doing commits.

In practice, you're probably going to run out of disk space or your directory indexes become too slow before you hit the maximum revision number limit.

查看更多
登录 后发表回答