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

Re: [PATCH] Fix a deprecation warning.

From: Kannan <kannanr_at_collab.net>
Date: Mon, 09 Nov 2009 15:34:18 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan Sperling wrote:
> It's not clear to me yet how we're going to translate absolute paths
> to relative paths in all cases.
>
> I think for now it's fine to adjust the tests to expect absolute paths.
> See patch_unidiff_absolute_paths in patch_tests.py for an example of
> how we can deal with absolute paths in tests.

Thank you Stefan. As per your comments, updated the tests to expect
absolute paths and they pass now. Attaching the updated patch herewith.

Updated Log:
Resolve a deprecation warning.

* subversion/svn/info-cmd.c
 (svn_cl__info): Make the path as absolute and pass to the
  new `svn_client_info3()' and update the receiver type to
 `svn_info_receiver2_t'.

* subversion/libsvn_client/info.c
 (svn_client_info3, push_dir_info,
  crawl_entries, found_entry_baton): Update the receiver type to
 `svn_info_receiver2_t'.

* subversion/tests/cmdline/info-tests.py
 (info_on_added_file, info_on_mkdir): Expect absolute paths for `svn
  info'.

Patch by: Kannan R <kannanr_at_collab.net>

- --
Thanks & Regards,
Kannan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSvfpIXlTqcY7ytmIAQJDLwf9ED7wF0ypMYcF3cFV2Dje4xJKNiQQoGtI
QQHpFZTM/dcl09DWbPInoW6//1yQ2+1Htm+an6d9f8C/dHZe0wRE4UrjnInpE2sD
eupFw23AErv4o65F1u2PdjyKiAFNcF25m74dduyVpGBeOU7jJF3P6hy8CLvhwNzj
WCzo25SO7+QgyaP0KRdDDGRY8+IAdaugGM/HHMAg5udcGZHyULS/TAZo1RZciK2X
pwD/D317vM+SncwKMQcs5FH6vxvXIGsbKG1kq+UtxIpyXznan7pl5Adtp/1Gnb8K
TCinhblpOjA2sZ+S7ayo6buQmWVlAbEQ6NJxFFLShlWVmPiwxSy5Fg==
=wfNS
-----END PGP SIGNATURE-----

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2415724

Received on 2009-11-09 11:06:31 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.