Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: [PATCH] Fix a deprecation warning.

subversion
Discussion topic

Back to topic list

Re: [PATCH] Fix a deprecation warning.

Author Julian Foad <julian dot foad at wandisco dot com>
Full name Julian Foad <julian dot foad at wandisco dot com>
Date 2009-11-12 03:54:21 PST
Message Stefan Sperling wrote:
> On Thu, Nov 12, 2009 at 11:01:10AM +0000, Julian Foad wrote:
> > We try hard not to change the output format. Why do we need to change it
> > here? The other subcommands manage to convert abs paths back to rel
> > paths for display.
>
> How? Can you show an example?

I'm sure I recall somebody mentioning on dev@ that they did this for at
least one other command earlier this year.

A search for "to_rel" finds info_receiver_relpath_wrapper() which is
undocumented, aargh, but looks like it does that sort of thing.

Basically you just have to know what your base path is, transfer it
(through a baton if necessary) to the output function, and strip it off
the received abspath (making sure the base path is in canonical absolute
form as well).

- Julian

« Previous message in topic | 13 of 19 | Next message in topic »

Messages

Show all messages in topic

[PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-10-26 06:55:41 PDT
     Re: [PATCH] Fix a deprecation warning. stsp Stefan Sperling 2009-10-26 09:35:01 PDT
         Re: [PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-10-28 06:12:15 PDT
             Re: [PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-11-03 08:41:59 PST
                 Re: [PATCH] Fix a deprecation warning. stsp Stefan Sperling 2009-11-05 04:58:46 PST
                     Re: [PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-11-05 23:30:32 PST
                         Re: [PATCH] Fix a deprecation warning. stsp Stefan Sperling 2009-11-09 00:33:21 PST
                             Re: [PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-11-09 02:06:11 PST
                                 Re: [PATCH] Fix a deprecation warning. stsp Stefan Sperling 2009-11-10 06:49:02 PST
                                     Re: [PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-11-11 07:12:37 PST
                                         Re: [PATCH] Fix a deprecation warning. Julian Foad <julian dot foad at wandisco dot com> Julian Foad <julian dot foad at wandisco dot com> 2009-11-12 03:01:24 PST
                                             Re: [PATCH] Fix a deprecation warning. stsp Stefan Sperling 2009-11-12 03:34:03 PST
                                                 Re: [PATCH] Fix a deprecation warning. Julian Foad <julian dot foad at wandisco dot com> Julian Foad <julian dot foad at wandisco dot com> 2009-11-12 03:54:21 PST
                                                     Re: [PATCH] Fix a deprecation warning. hwright Hyrum K. Wright 2009-11-12 05:40:08 PST
                                                         Re: [PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-11-12 06:32:46 PST
                                                             Re: [PATCH] Fix a deprecation warning. julianfoad Julian Foad 2009-11-23 06:06:59 PST
                                             Re: [PATCH] Fix a deprecation warning. Kannan <kannanr at collab dot net> Kannan <kannanr at collab dot net> 2009-11-12 06:27:01 PST
                                         Re: [PATCH] Fix a deprecation warning. julianfoad Julian Foad 2009-11-13 03:07:56 PST
                                             Re: [PATCH] Fix a deprecation warning. gavinbaumanis Gavin Baumanis 2009-11-20 03:56:16 PST
Messages per page: