[Opensim-dev] [Opensim-users] Main Repository now in Git

Sean Dague sdague at gmail.com
Wed Aug 5 11:53:59 UTC 2009


Sean Hennessee wrote:
> In my automated update script I use an svn info command to cull the 
> current release number to use as it's folder name when getting the 
> latest release like this:
> 
> $ REV=`svn info http://opensimulator.org/svn/opensim/trunk | fgrep 
> Revision | awk '{print $2}'`
> $ svn -r $REV co http://opensimulator.org/svn/opensim/trunk $REV
> 
> With the specific svn command used being:
> $ svn info http://opensimulator.org/svn/opensim/trunk
> Is there an equivalent way to get the current release number from git? 
> Or any way to get the current/trunk release number?

There isn't an equivalent monotonically increasing number in git as
there is in svn.

If you want to update to the latest and greatest just "git pull" which
will do it.

http://learn.github.com/ also has lots of good info.

	-Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sdague at gmail.com                                 Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090805/302998d4/attachment-0001.pgp>


More information about the Opensim-dev mailing list