Kornel Benko wrote:
Am 2009-04-09 schrieb Abdelrazak Younes:
Kornel Benko wrote:
Am 2009-04-09 schrieb Pavel Sanda:
Pavel Sanda wrote:
Kornel Benko wrote:
try svnversion:

#cd  .../branch1.6
#svnversion
        29157M
beware of the output, i just get 29123:29124M here...
even worse, it doesn't produce version of the given file,
which is a must since different files can have different
revisions :(
svn info may be unavoidable...
'svn status -v' is quite easy to parse too. And you get the current global revision as a bonus as well as the last committer.

Why do you need it? Every new commit produces an new revision, which is then 
valid for _all_ files.
No, we want the last commit revision number for this file.


Ok, then how about something like this:
#svn st -v INSTALL.autoconf
        29157     6040 larsbj       INSTALL.autoconf

Better than nothing.

rh

Reply via email to