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

[PATCH] Directory name missing on svn propset

From: Øyvind A. Holm <sunny_at_sunbase.org>
Date: 2004-07-02 08:26:05 CEST

When performing a "svn propset foo bar .", this happens:

$ svn ps foo bar .
property 'foo' set on ''

The ''’s are empty only when the file name is ".". The following patch
should fix it.

Print property name as '.' instead of '' when specifying . to
svn propset.

* subversion/clients/cmdline/propset-cmd.c
  (svn_cl__propset): Use svn_path_local_style() when printing the

Index: subversion/clients/cmdline/propset-cmd.c
--- subversion/clients/cmdline/propset-cmd.c (revision 10122)
+++ subversion/clients/cmdline/propset-cmd.c (working copy)
@@ -195,7 +195,7 @@
                  (pool, opt_state->recursive
                   ? _("property '%s' set (recursively) on '%s'\n")
                   : _("property '%s' set on '%s'\n"),
- pname, target));
+ pname, svn_path_local_style (target, pool)));
       svn_pool_destroy (subpool);

Øyvind A. Holm
cat /dev/urandom >SCO

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 2 08:26:59 2004

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.