Sorry, the "$2" needs to be a "$1" -- that was a finger-flub on my part

On 03/22/2012 09:13 AM, Ron Aaron wrote:
> OK, I've come up with a small bash script to get an 'id' which I can use
> to detect changes in a repo.  Save the following to "fossilid" and make
> it executable:
>
> if [ ! -f "$1" ]
> then
>     echo "fossilid needs the name of the repository to 'id'"
>     exit 1
> fi
>
> configsha=`fossil config export all -R $2 - | grep -v '^#' | fossil sha
> - | cut -d' ' -f1`
> logsha=`fossil timeline -n 10 -R $1 | fossil sha - | cut -d' ' -f1`
>
> echo "$configsha $logsha"
>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to