On Feb 5, 2014, at 8:25 AM, Hazen Babcock <hbabc...@mac.com> wrote:

> On 2/5/2014 12:25 AM, Alan W. Irwin wrote:
>> 
>>> How big will the local copy be? And yes, the learning curve is kinda
>> big. I fiddled around some time back with git w.r.t. LyX, the document
>> processor. As I recall, the local storage requirements can be large.
>> 
>> @Jerry:
>> 
>> Good question on local size which I hope Hazen is in a position to
>> answer.
>> 
>> @Hazen:
>> 
>> Here is a related question.  My understanding from superficial reading
>> is that git users normally have a local repository (unlike the svn
>> case where there is normally just one repository).  But if someone is
>> worried about the disk space that is required by that local git
>> repository, is there also a detached repository mode for git (i.e., so
>> the user could simply use the SourceForge repository without copying
>> all of the repository to his own computer)?
> 
> This is no longer true? I checked out PLplot using git (master branch) and 
> svn (trunk), which I believe to be roughly equivalent and the sizes are:
> 
> (svn checkout http://svn.code.sf.net/p/plplot/code/trunk plplot)
> SVN: 36.2MB (43.8MB on disk)
> 
> (git clone https://github.com/HazenBabcock/PLplot.git)
> GIT: 40.1MB (44.0MB on disk)

That's interesting. My superficial understanding of git (also) is that the user 
stores the entire history of a project locally (with the advantage that 
checking stuff in and out is very fast). That means that apparently the PLplot 
history is stored very efficiently since the git size is only a little larger 
than the svn size. Also, I didn't spend enough time learning git to figure out 
what advantage there is when updating the master with a local repo--there still 
must be issues with conflicts. And is there any mechanism to lock a file while 
it is being edited, since it is checked out from the local repo and the master 
has no clue of the file's status. I recall we had a discussion of this recently 
w.r.t. svn where most agreed that conflicts like this are a rare event but 
there is indeed a locking mechanism of some sort if one chooses to use it.

Jerry

> 
> I'm pretty sure that there is nothing like a detached repository mode. 
> Everything is local as they say.
> 
> -Hazen
> 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to