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

Re: [PATCH] branches/wc-replacements: write relative path in working copy log

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-08-27 00:54:33 CEST

> > Could you either insert it into the message or zip it before attaching?
> Like this?

Yes. Thanks.

>
> [[
> Write relative path in working copy log instead of full path.
> * subversion/libsvn_wc/adm_ops.c
> (svn_wc_process_committed2): Pass relative path of revert file to
> working copy log.
> ]]
>
> Index: subversion/libsvn_wc/adm_ops.c
> ===================================================================
> --- subversion/libsvn_wc/adm_ops.c (revision 15882)
> +++ subversion/libsvn_wc/adm_ops.c (working copy)
> @@ -317,8 +317,11 @@
>
> /* If the revert file exists it needs to be deleted when the file
> * is committed. */
> - revert_file = svn_wc__text_revert_path (path, FALSE, pool);
> - SVN_ERR (svn_io_check_path (revert_file, &kind, pool));
> + revert_file = svn_wc__text_revert_path (base_name, FALSE, pool);
> +
> + SVN_ERR (svn_io_check_path (svn_path_join (svn_wc_adm_access_path (adm_access),
The line above is longer than 80 characters.

> + revert_file, pool),
> + &kind, pool));
These lines don't have the correct indenting.

> if (kind == svn_node_file)
> {
> svn_xml_make_open_tag (&logtags, pool, svn_xml_self_closing,

I fixed the 2 nits (small comments) above and committed the change in r15935.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 27 00:55:11 2005

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.