fixed (???) LF/CR bug in Win32

replace insert-file-contents-literally with insert-file-contents
fixed misc ui inconsistencies

now C-u RET will also visit work-tree's file in status buffer
(as it's already the case in the log buffer).

Checkout side will gracefully handle the case where the cursor
is not actually on the conflict.
istash :)
fixed bug caused by empty log buffer

reported by GaryO in https://github.com/byplayer/egg/issues/54

I have a file in blame mode, go to the chunk of interest, hit RET (to open log).
I get an error with this backtrace:

Debugger entered--Lisp error: (args-out-of-range 2 2)
next-single-property-change(2 :mark)
egg-log-buffer-get-marked-alist(10004 46 9998 62)
egg-log-buffer-get-rebase-marked-alist()
egg-generic-display-logs((:description #("history scope: v6-maint-branch and 1c1959d" 0 15 (face egg-text-2) 15 30 (face egg-term) 30 35 (face egg-text-2) 35 42 (face egg-term)) :closure (lambda nil (egg-insert-logs-with-full-decoration (list "v6-maint-branch" "1c1959d1956637468c01e781e414b41531f5a1d9"))) :title #("v6-maint-branch" 0 15 (face egg-branch)) :subtitle #("1510b4bef24ea5cc69df31d3f31c71472d68ed96" 0 40 (face font-lock-string-face))) nil)
egg-log-buffer-redisplay(#)
egg-do-locate-commit("1c1959d1956637468c01e781e414b41531f5a1d9")
egg-blame-locate-commit(11903 nil)
call-interactively(egg-blame-locate-commit nil nil)

(point-min) is 1, so pos is 1. Apparently it can't find the next single property change after that. I'm not sure why, the selected buffer seems to be the blame buffer and it has lots of properties.

Oh yes, this is on nightly emacs 24.3.50.1 of 11-19-12 (Dani's Windows trunk build)
fixed bug: cannot locate commit when displayed history is too short

when logs are limited by --max-count=, egg couldn't locate the commit.
the fix is to override egg-log-HEAD-max-len if it is too small to locate
the commit.
correct and faster implemenation of range's length

inspired by GaryO's suggestion.
initial code for limited git-svn support
more initial code for limited git-svn support
cleanup svn remote handlers
update rm-ref to handle svn
re-implement svn remote handler
svn push seems ok
fix pushing to non-svn site
cleanup delete svn branch
more cleanup svn push (still synchronous)

oh so slow
big svn push cleanup
initial code for svn fetching
temporary checkin
temporary checkin
temporary checkin