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

[PATCH] Use local path style in locking notifications

From: Chris Foote <cfoote_at_v21.me.uk>
Date: 2006-08-01 02:24:30 CEST

This patch fixes something that I noticed while playing with the locking
commands.

e.g.
D:\wc1>svn lock include\file1.h src\file1.c
'src/file1.c' locked by user 'Chris'.
'include/file1.h' locked by user 'Chris'.

Regards
Chris

[[[
Output locking notifications using local path style.

* subversion/svn/notify.c
  (notify): For svn_wc_notify_locked and svn_wc_notify_unlocked print out
    path_local in the message.
]]]

Index: subversion/svn/notify.c
===================================================================
--- subversion/svn/notify.c (revision 20924)
+++ subversion/svn/notify.c (working copy)
@@ -348,13 +348,13 @@

     case svn_wc_notify_locked:
       if ((err = svn_cmdline_printf(pool, _("'%s' locked by user '%s'.\n"),
- n->path, n->lock->owner)))
+ path_local, n->lock->owner)))
         goto print_error;
       break;

     case svn_wc_notify_unlocked:
       if ((err = svn_cmdline_printf(pool, _("'%s' unlocked.\n"),
- n->path)))
+ path_local)))
         goto print_error;
       break;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 1 02:25:03 2006

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.