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

RE: Re: setting tsvn:logminsize from command line

From: Per Nilsson <per.nilsson_at_enics.com>
Date: Fri, 25 Oct 2013 05:37:49 -0700 (PDT)

How come TortoiseSVN can edit the property without errors?

> On Oct 24, 2013 8:38 PM, "Per Nilsson" <per dot nilsson at enics dot com> wrote:
> >
> > > 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
> >
>
> Sounds like a bug in svn. You need to report that on the subversion users
> mailing list.
>
> Simon

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3067087

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-10-25 14:37:54 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.