[en] documentation of svnmucc
Schindler, Michael (AMOS Austria GmbH)
Michael.Schindler at allianz.at
Mon Feb 17 10:20:24 CST 2014
hi!
http://svnbook.googlecode.com/svn/trunk/en/book/ref-svnmucc.xml rev 4562 contains in several places:
$ export BASEREV=`svn info ${FILEURL} | \
grep '^Last Changed Rev' | cut -d ' ' -f 2`
this will not work - the revision is field 4, not field 2, so -f 2 must be changed to -f 4
$ export BASEREV=`svn info ${FILEURL} | \
grep '^Last Changed Rev' | cut -d ' ' -f 4`
i would recommend using the --xml version of info, but one cannot grep the right revision without formatting first
$ export BASEREV=`svn info --xml ${FILEURL} | \
xmllint - |\
grep '^<commit revision="' | cut -d '"' -f 2`
last line afet = is: a double quote, followed by a single quote.
after -d: a single, a double, a single quote
of course, if your xmllint supports the --xpath option things are easier.
Mit freundlichen Grüssen,
DI MIchael Schindler
AMOS Austria GMBH
Informationstechnologie / Anwendungsentwicklung
Hietzinger Kai 101-105 A-1130 Wien
Telefon +43 (0) 59009 88664
mail: michael.schindler at allianz.at
web: http://www.allianz.at<http://www.allianz.at/>
AMOS Austria GmbH
1130 Wien, Hietzinger Kai 101-105
FN 365014k, Handelsgericht Wien
UID: ATU 66614737
http://www.allianz.at
********************************************************
Dieses E-Mail und allfaellig daran angeschlossene Anhaenge
enthalten Informationen, die vertraulich und
ausschliesslich fuer den (die) bezeichneten Adressaten
bestimmt sind.
Wenn Sie nicht der genannte Adressat sind, darf dieses
E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen
Personen zugaenglich gemacht noch in anderer Weise
verwertet werden.
Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
wir Sie, dieses E-Mail und saemtliche angeschlossene
Anhaenge zu loeschen.
Please note: This email and any files transmitted with it is
intended only for the named recipients and may contain
confidential and/or privileged information. If you are not the
intended recipient, please do not read, copy, use or disclose
the contents of this communication to others and notify the
sender immediately. Then please delete the email and any
copies of it. Thank you.
********************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20140217/ff26e660/attachment.html>
More information about the svnbook-dev
mailing list