1 Jun 2012 17:50
Re: [PATCH] Honor SVN auto-props (solves issue #186)
Queued, thanks. On May 24, 2012, at 4:14 PM, Ronny Voelker wrote: > # HG changeset patch > # User Ronny Voelker <ronny.voelker@...> > # Date 1325429955 -3600 > # Node ID 772280aed7513b672aa8ba060750f52518e1b20e > # Parent 312f36a425f01328c9f36b831019c30b6f4957fc > Honor SVN auto-props (solves issue #186) > > The auto-props are read from the users subversion configuration file > (~/.subversion/config on posix). System-wide configuration files are not > taken into account. > > The implementation completely bypasses the subversion bindings, > because the current bindings provide little support for this functionality. > > diff -r 312f36a425f0 -r 772280aed751 hgsubversion/pushmod.py > --- a/hgsubversion/pushmod.py Thu May 17 14:15:14 2012 -0700 > +++ b/hgsubversion/pushmod.py Sun Jan 01 15:59:15 2012 +0100 > <at> <at> -133,6 +133,10 <at> <at> > # this kind of renames: a -> b, b -> c > copies[file] = renamed[0] > base_data = parent[renamed[0]].data() > + else: > + autoprops = svn.autoprops_config.properties(file) > + if autoprops: > + props.setdefault(file, {}).update(autoprops) >(Continue reading)

--
Dan Villiom Podlaski Christiansen
RSS Feed