Lluís Batlle i Rossell <virik...@...> writes: > > Hello, > > migrating our tools from subversion, we need something that would give the > functionality we got through 'svnversion'. > > It could indicate what version the current checked out tree was, and if it had > changes over the repository or not. > > Can we get that directly by fossil, or we have to parse 'fossil status'? > a simple scipt should be enough to solve your problem. On my windows machine the following works fine:
fossil status | c:\Programme\unxtools\gawk.exe "/^[A-Z]/{chg= substr($0,1,1)}/^checkout:/{v=$2}END{print v\" \"chg}" _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users