> On 24 October 2013 18:04, Andy Levy <andy dot levy at gmail dot com> wrote:
>
> > On Thu, Oct 24, 2013 at 12:56 PM, Simon Large
> > <simon dot tortoisesvn at gmail dot com> wrote:
> > > On 24 October 2013 17:43, Andy Levy <andy dot levy at gmail dot com> wrote:
> > >>
> > >> On Thu, Oct 24, 2013 at 12:37 PM, Simon Large
> > >> <simon dot tortoisesvn at gmail dot com> wrote:
> > >> > On 24 October 2013 16:36, Per Nilsson <per dot nilsson at enics dot com> wrote:
> > >> >>
> > >> >> Hello
> > >> >>
> > >> >> I am trying to set the tsvn:logminsize property for one repository.
> > The
> > >> >> svn propset only excepts setting the property on a Working Copy.
> > >> >>
> > >> >> But, from the TortoiseSVN Respository Browser it is possible to right
> > >> >> click on the repository and add the property.
> > >> >>
> > >> >> What dowes the Repository Browser do as a trick to get the property
> > >> >> into
> > >> >> the repository? Does it check out, propset and committ, all in one
> > >> >> operation?
> > >> >>
> > >> >> If so is the case, what would the proper way be to do the same from
> > the
> > >> >> command line
> > >> >
> > >> >
> > >> > Does svn propedit do what you want?
> > >>
> > >> svn propset/propdel/propedit requires a working copy to edit versioned
> > >> properties.
> > >>
> > >> C:\>svn propset svn:ignore "*.docx" URL_TO_REPO_ROOT
> > >> svn: E200009: Targets must be working copy paths
> > >>
> > >> I think Per is asking how the repo-browser can edit properties without
> > >> having a (visible) WC to perform those edits in.
> > >>
> > >
> > > svn propedit --help says that it will operate directly on a URL.
> >
> > You're right for propedit, I jumped the gun there.
> >
> > But if the property isn't already set for the URL (as in Per's case -
> > he's trying to set a new property), you need a WC for propset.
> >
> >
> C:\Temp>svn propedit --editor-cmd=notepad.exe -m "Added a property"
> svn:ignore file:///c:/temp/repos/my_dir
> Set new value for property 'svn:ignore' on 'file:///C:/temp/repos/my_dir'
>
> Committed revision 10.
>
> Obviously you don't want notepad.exe there, but maybe you can use a script
> instead. On my test repository there was no pre-existing property called
> svn:ignore so it works for setting them too.
>
> Simon
When I try this command I get an error
svn: E175002: Unexpected HTTP status 405 'Method Not Allowed' on '/ICT_testimport'
svn: E175002: Additional errors:
svn: E175002: PROPFIND request on '/ICT_testimport' failed: 405 Method Not Allowed
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3067006
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-10-24 21:38:39 CEST