[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Issue #2287 - Make svn_client_log() take a peg revision

From: S.Ramaswamy <srsy70_at_gmail.com>
Date: 2005-06-29 08:06:46 CEST

I tried this patch to get an idea about peg revisions.
.While the tests pass, and log is now able to follow files
across renames, I am not sure about the approach.

A couple of the log tests fail that run 'svn log' on older
revisions of the repos url fail:
FAIL: log_tests.py 7: 'svn log -r N URL' when URL is not in HEAD
FAIL: log_tests.py 8: 'svn log TGT' with copyfrom history

That could be because a peg revision is now required by log, when
listing files not in HEAD

Any suggestions ?

Thanks
Ramaswamy

Log:

Fix issue #2287 - Make svn_client_log() take a peg revision.

* subversion/include/svn_client.h:
    (svn_client_log3): New prototype.
    (svn_client_log2): Deprecate.

* subversion/libsvn_client/log.c:
    (svn_client_log3): New function.
    (svn_client_log2): Re-implemented using new function
    svn_client_log3().
    (svn_client_log): Re-implemented using new function
    svn_client_log3().

* subversion/clients/cmdline/log-cmd.c:
    (svn_cl__log): Call svn_client_log3().

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Jun 29 08:07:49 2005

This is an archived mail posted to the Subversion Dev mailing list.