On 10/08/13 13:05, Dr. Trigon wrote:
If you read the instructions
(https://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit), it recommends you only clone with a --depth of 3 (or anything smaller), and it will take up very little space.
Yes of course there is a solution - but it again one thing that can go wrong and another paramter you have to remeber and use. By the way it would be a good thing if it would be possible to develop from TS also. And then all the 200MB are needed, aren't they?
No, they aren't. You can happily develop from a shadow clone. You would only have problems if someone sent you a patchset based on an old version you didn't clone (but when working from gerrit, it won't happen).
You would of course not have the commits previous to the point you set, so you won't be able to properly view the commit list or blame. But that's not a big difference with svn, where those requiring downloading the full file history from the net (I went to ViewVC for those actions). In git they are nice with a full clone, but they won't work properly with a shallow clone (eg. they will attribute everything “old” to the earliest commit you cloned).