On 04.05.2011 23:45, Andre Poenitz wrote:
On Wed, May 04, 2011 at 04:16:13PM +0200, Vincent van Ravesteijn wrote:
On Wed, May 4, 2011 at 2:13 PM, Pavel Sanda<sa...@lyx.org> wrote:
Andre Poenitz wrote:
Close to the current svn model, but allow people to use branches for
non-trivial feature sets if they like?
+1
Then we can just as well stay with svn.
I don't think the following are equivalent:
...> cd ~/lyx/trunk ; time svn log> /dev/null
real 4m28.451s
user 0m1.112s
sys 0m0.268s
...> cd ~/lyx-git ; time git log> /dev/null
real 0m2.128s
user 0m1.264s
sys 0m0.080s
Yes. That's a factor of 130, and the respective outputs (if
not redirected to /dev/null...) contain similar information.
And it's similar for blame, diff, and any other operation
that does not work on the local copy only.
That's not a joke, it's not made up. I am honestly not aware
of any single operation, not even artificial scenarios, where
git performs worse than svn.
Maybe this one:
time svn co svn://svn.lyx.org/lyx/lyx-devel/trunk
real 0m27.906s
user 0m4.120s
sys 0m5.120s
time git clone git://gitorious.org/lyx/lyx.git
real 2m41.146s
user 0m34.820s
sys 0m29.320s
OK, we have the complete history with git, but often this
isn't of interest:
time git clone --depth 1 git://gitorious.org/lyx/lyx.git
real 0m15.568s
user 0m1.960s
sys 0m3.230s
Is it possible to push/pull from such a clone?
For me the major selling point for git is not that it enables
fancy workflows beyond what is possible with svn (which it
obviously does) but that it can do whatever svn can do, only
_much_ better.
Andre'