Hello .
I am trying to write a hook to prevent deletion of elements through a
pre-commit hook.
My Plan is to execute "svn status" and then based on the o/p allow or deny.
But the problem is that the hook is being executed in the server and I see not
now way to get the "working copy" path in th
> I am trying to write a hook to prevent deletion of elements through a
pre-commit hook.
If you're not using the bindings you'd want svnlook, probably svnlook
diff.
But, do you really want such a hook? If a user has permission to add
stuff they should be allowed to also unwind any mistakes, prov
> I am trying to write a hook to prevent deletion of elements through a
pre-commit hook.
>>If you're not using the bindings you'd want svnlook, probably svnlook
diff.
>>But, do you really want such a hook? If a user has permission to add
stuff they should be allowed to also unwind any mistakes,
"Neson Maxmelbin (RBEI/EMT5)" schreef op
21/02/2011 15:54:24:
>
> > I am trying to write a hook to prevent deletion of elements through a
> pre-commit hook.
>
>
> >>If you're not using the bindings you'd want svnlook, probably svnlook
> diff.
>
> >>But, do you really want such a hook? If a u
I think what you really want is to replace a latin1 ü by a UTF-8 ü
(byte sequence C3 BC).
Thomas STEININGER wrote on Fri, Feb 18, 2011 at 13:53:43 +0100:
> i need a tip to solve my problem with log-messages in our
> subversion-repository. (see the mail-conversation with the tortoisesvn
> team
Stephen Connolly wrote on Fri, Feb 18, 2011 at 14:01:52 +:
> unix shell scripting could solved it for you
>
> bash
> for rev in $(svn log ... | sed -n -e "..."); do svn ps --revprop svn:log
> "$(svn pg svn:log -r $rev | sed -e "s/oldstring/newstring/g;")" ... ; done
>
> I leave the ...'s as a
Personally I run the svnlook changed command on the txn. This allows us to
see exactly what is being done on the changed files. If there is a delete
you can exit out and kill the commit. Here is the example written in
python:
look_cmd = "svnlook changed -t %s %s" % (txn, path)
for file in os.pope
do i really understand, that i have to execute this:
propedit --editor-cmd 'sed --flags'
on a file? on all urls that are in my svn-repository?
or how you mean?
-Thomas
Daniel Shahaf
21.02.2011 19:34
An
Stephen Connolly
Kopie
Thomas STEININGER , users@subversion.apache.org
Thema
Re: problem
Thomas STEININGER wrote on Tue, Feb 22, 2011 at 07:39:49 +0100:
> do i really understand, that i have to execute this:
> propedit --editor-cmd 'sed --flags'
> on a file? on all urls that are in my svn-repository?
> or how you mean?
>
On all revisions.
What you'll want is to write a script that t
Ok - you mean that i start a script that iterates over all files and
within over all revisions of the repository
and execute on it your command.
But you say 'and converts that file (in-place) from latin1 to utf8' and i
have no problem with the file-contents itself.
The files have correct contents
Hello,
I am introducing Subversion into our development environment. We are using a
lock-modify-unlock stategy for all of our files. I do not claim this is the
best or most efficient way to use Subversion, but it best fits the mindset of
the developers at my particular site. We have installs
11 matches
Mail list logo