On 02/24/2010 04:55 AM, Pavel Sanda wrote:
Vincent van Ravesteijn - TNW wrote:
Why do you need the revision number for revision 0 ?
the idea was that user would be able to address revisions not only by
absolute revision number but also in relative manner, ie to let him
address
revisions like -5 for five revisions back. naturally 0 happens to be
the last
commit.
I meant, why do you want to retrieve the revision number of the current
file, which you use in the call to svn cat. I guess that if you call svn
cat without a revision number, it will get the last version. Or not ?
but we want much more than the last version.
I am not sure we really want that actually... at least I am not sure...
I'd rather rely on svn or Tortoisesvn ui capabilities and diff scripting
instead.
What we really need is a command line export "lyx --compare 875 876
file.lyx"; this would generate "file-875-876-diff.lyx". Once we have
that, we can configure "svn diff" or "git diff" to launch that command
and then to visualize this diff file with LyX.
What I mean is that we are not here to compete with the multiple SVN
GUIs. The only application for this specific revision diff that I see is
if we deeply use git or hg for example to create a new LyX format that
would embed all history, including graphics' history; a bit like MSWord
revision feature but much more powerful. But for svn, I don't see the
added benefit, really.
Abdel.