Hi,
John Labenski ha scritto:
In terms of wxLua going to Subversion, yes, someday. I'm sorry that
I'm dragging my feet on it, but I am no expert in CVS, but I can make
do. I am suspicious of svn since it appears as though you download the
whole repository with a checkout which I see as a waste of disk space
and when you grep for things you're inundated with garbage from the
old versions.
This is not the case. A subversion checkout contains no history. What
it does do is keep unmodified versions of every versioned-controlled
file in a .svn directory for doing fast local and off-line diffs without
having to talk to the server. This basically means the cost of a
checkout is very slightly over twice the size of the data stored in it.
(Also, bzr branches (rather than checkouts) do include all the history,
which is a requirement of its distributed nature - but you can do a
"lightweight" checkout which is similar to an svn checkout, in that it
requires you to be connected to make any commits.)
I guess I could make a script wrapper for grep to avoid
the .svn/ dirs.
I'm attaching mine ;)
Simple usage:
$ g VARS_DONT_ELIMINATE *
God Bless The Power Of Linux and its Shell! :D
In any case I'm not convinced that svn is any better,
except that you can use the http protocol.
Subversion is bags quicker, has atomic commits, can version things more
than just files, better handling of binary files, more efficient
server-side storage, finer-grained and more flexible authentication and
permissions, vastly superior history tracking, cheap branching and is
still actually being maintained. And that's just a start.
don't forget it also allows to fix once and for all the CR/CRLF problems
which CVS messes up with (see other thread!).
With Subversion you can explicitely set the new line endings file for
file so that the EOL will always be the same regardless of the OS/client
the user uses for the checkout.
Ok, I'm convinced.
After the next release I will do it, but first we need to get a
monolithic build working and whatever else there was to do that I've
forgotten.
right! ;)
Francesco
PS: SF allows an easy and non-painful transition; check under
Admin->Subversion->Migration instructions
obviously it preserves the versioning history.
#!/bin/bash
if [[ -z "$1" ]]; then
echo "Usage: $0 regularExpr filesToSearch"
echo "Greps recursively avoiding .svn folders."
echo "E.g.: $0 someStr *"
exit 1
fi
# grep avoiding SVN folders
grep --exclude=.* -nR $* | grep -v .svn
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users