logo       

svn commit: r13174 - branches/locking/subversion/libsvn_ra_svn: msg#00355

version-control.subversion.svn

Subject: svn commit: r13174 - branches/locking/subversion/libsvn_ra_svn

Author: lundblad
Date: Sat Feb 26 18:15:36 2005
New Revision: 13174

Modified:
branches/locking/subversion/libsvn_ra_svn/client.c
Log:
Locking branch: Followup to r13110. Make tests over ra_svn pass again.

* subversion/libsvn_ra_svn/client.c (ra_svn_get_locations,
ra_svn_get_file_revs): Don't call handle_auth_request twice.


Modified: branches/locking/subversion/libsvn_ra_svn/client.c
Url:
http://svn.collab.net/viewcvs/svn/branches/locking/subversion/libsvn_ra_svn/client.c?view=diff&rev=13174&p1=branches/locking/subversion/libsvn_ra_svn/client.c&r1=13173&p2=branches/locking/subversion/libsvn_ra_svn/client.c&r2=13174
==============================================================================
--- branches/locking/subversion/libsvn_ra_svn/client.c (original)
+++ branches/locking/subversion/libsvn_ra_svn/client.c Sat Feb 26 18:15:36 2005
@@ -1204,7 +1204,6 @@
svn_boolean_t is_done;
int i;
const char *ret_path;
- svn_error_t *err;

/* Transmit the parameters. */
SVN_ERR(svn_ra_svn_write_tuple(conn, pool, "w(cr(!",
@@ -1217,8 +1216,6 @@

SVN_ERR(svn_ra_svn_write_tuple(conn, pool, "!))"));

- err = handle_auth_request(sess_baton, pool);
-
/* Servers before 1.1 don't support this command. Check for this here. */
SVN_ERR(handle_unsupported_cmd(handle_auth_request(sess_baton, pool),
_("get-locations not implemented")));
@@ -1272,7 +1269,6 @@
svn_txdelta_window_handler_t d_handler;
void *d_baton;
apr_size_t size;
- svn_error_t *err;

/* One sub-pool for each revision and one for each txdelta chunk.
Note that the rev_pool must live during the following txdelta. */
@@ -1281,8 +1277,6 @@

SVN_ERR(svn_ra_svn_write_cmd(sess_baton->conn, pool, "get-file-revs",
"c(?r)(?r)", path, start, end));
-
- err = handle_auth_request(sess_baton, pool);

/* Servers before 1.1 don't support this command. Check for this here. */
SVN_ERR(handle_unsupported_cmd(handle_auth_request(sess_baton, pool),


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise