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

RE: [PATCH] RE: Commit strips common prefix instead of current directory (Issue #3168) (2/3)

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 13 May 2008 17:12:36 +0200

        Hi All,

This is part 2 of 3 patches.

Log message for patch 2:

Move the creation of final display paths to the CLI notification
handler, to make sure notifications always receive a valid path in the
path field.

* subversion/include/svn_wc.h
  (svn_wc_notify_t): New field path_prefix.

* subversion/libsvn_wc/util.c
  (svn_wc_create_notify, svn_wc_dup_notify): Handle new path_prefix field.

* subversion/libsvn_client/client.h
  (svn_client__do_commit): Document the new handling of notify_path_prefix.

* subversion/libsvn_client/commit_util.c
  (svn_client__do_commit, do_item_commit) Remove local handling of
    notify_path_prefix. Instead pass path_prefix to the notification
* subversion/svn/notify.c
  (notify): Use the new path_prefix to split the first part of the path
    if it matches the specified prefix. Don't bother testing for urls
    as the path is documented to be a local path.

Patch by: Bert Huijben <b.huijben_at_competence.biz>
Tweaked by: kfogel


To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-05-13 21:35:31 CEST

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.