[arch-dev-public] [signoff] devtools 0.9.2

Pierre Schmitz pierre at archlinux.de
Wed Feb 17 12:06:38 EST 2010


Am Mittwoch, 17. Februar 2010 16:41:06 schrieb Jan de Groot:
> (maybe set LANG/LC_ALL/whatever to C first)
> 
> _trunk=$(svn info | grep 'Last Changed Rev:' | awk '{ print $4 }')
> _repo=$(svn info ../repos/extra-i686 | grep 'Last Changed Rev:' | awk
> '{ print $4 }')
> 
> if [ $_trunk -gt $_repo ]; then
>   do your voodoo here
> fi
> 
> I think this covers most issues here. When repos/* is newer than trunk,
> it has already been committed, or someone did local commits inside
> repos/. In the first case there's no need to commit, in the last case we
> don't want to commit without manual inspection first.

Nice idea and I think it could even work. Committed as 
http://projects.archlinux.org/devtools.git/commit/?id=53a864a5aa2e273154e4e37218b967924cf4cf79

-- 

Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-dev-public mailing list