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

Re: Access violation, when using TortoiseProc.exe to lock a file.

From: Jon H <jd_hardcastle_at_yahoo.com>
Date: Wed, 21 Jan 2009 02:02:57 -0800 (PST)

Working Copy.

-----------------------
N: Jon Hardcastle
E: Jon_at_eHardcastle.com
'..Be fearful when others are greedy, and be greedy when others are fearful.'
-----------------------

--- On Wed, 21/1/09, jerik <jerikmail_at_googlemail.com> wrote:

> From: jerik <jerikmail_at_googlemail.com>
> Subject: Re: Access violation, when using TortoiseProc.exe to lock a file.
> To: users_at_tortoisesvn.tigris.org
> Date: Wednesday, 21 January, 2009, 9:58 AM
> What das WC mean?
>
> The Term I have in mind does not fit in this context ;)
> (Water closet)
>
> Cheers -- Erik
>
> On 20 Jan., 18:31, Andy Levy <andy.l..._at_gmail.com>
> wrote:
> > On Tue, Jan 20, 2009 at 12:16, jerik
> <jerikm..._at_googlemail.com> wrote:
> > > This is not as easy as it looks. Here we have
> Tortoise v1.4.8
> > > installed. The command line client from collab
> was 1.5.x. worked fine,
> > > but afterwards I was not able to use the Tortoise
> client -- not good.
> >
> > Documented & expected behaviour. Newer clients
> silently &
> > automatically upgrade the WC format. I don't think
> you ever specified
> > that you were running an older release.
> >
> > > I could not find any command line client as zip
> file, so I took the
> > > collab once. Does somebody know where I can get
> command line tools
> > > that are compatible to Tortoise v1.4.8?
> >
> > Should be available somewhere on
> subversion.tigris.org. You'll have to
> > check out a new WC though.
> >
> >
> >
> > > Cheers -- Jerik
> >
> > > On 20 Jan., 14:43, Andy Levy
> <andy.l..._at_gmail.com> wrote:
> > >> On Tue, Jan 20, 2009 at 08:31, jerik
> <jerikm..._at_googlemail.com> wrote:
> > >> > hi,
> >
> > >> > On 20 Jan., 14:22, Andy Levy
> <andy.l..._at_gmail.com> wrote:
> > >> >> On Tue, Jan 20, 2009 at 08:13, jerik
> <jerikm..._at_googlemail.com> wrote:
> > >> >> > Hi,
> >
> > >> >> > OS: Windows
> >
> > >> >> > i wanted to make life easier
> and create a macro in word, which makes
> > >> >> > it possible to lock the word
> file which is currently open. The macro
> > >> >> > in word, calls:
> > >> >> >
> c:\path\TortoiseProc.exe /command:lock
> /path:"c:\path\file.doc"
> >
> > >> >> > Full macro code:
> > >> >> > Sub svn_lock()
> > >> >> >    ' In the Environment
> varibale svn_cmd is the path to
> > >> >> > TortoiseProc.exe stored!
> > >> >> >    svn_cmd =
> Environ$("svn_cmd")
> > >> >> >    svn_cmd_lock = svn_cmd
> & " /command:lock /path:" & Chr(34) &
> > >> >> > ActiveDocument.FullName &
> Chr(34)
> > >> >> >    Call Shell(svn_cmd_lock)
> > >> >> > End Sub
> >
> > >> >> > I receive the following error
> message (translated from german):
> > >> >> > An access violation has occured
> during the access of C:\path\file.doc
> >
> > >> >> > What should I do to avoid the
> Error message and get the macro to
> > >> >> > work?
> >
> > >> >> > If I use the same macro with
> the /command:log, it works perfectly. I
> > >> >> > think I have to free the
> document in a special way, but dont know
> > >> >> > how.
> >
> > >> >> > btw: vba skills novice.
> >
> > >> >> With the file open, run that same
> command at the command-line. Same result?
> >
> > >> > Same result !
> >
> > >> >> Then, install the Subversion
> command-line client and try using that
> > >> >> (the command-line client is meant to
> be scripted with no user
> > >> >> interaction, the TSVN command-line
> not so much).
> >
> > >> > Currently not an option, cause I have no
> admin rights on the pc.
> >
> > >> No, it's still an option. You can
> download the command-line tools as a
> > >> ZIP file and unpack to your home directory.
> >
> > >>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
> >
> > >> To unsubscribe from this discussion, e-mail:
> [users-unsubscr..._at_tortoisesvn.tigris.org].
> >
> > >
> ------------------------------------------------------
> >
> >http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
> >
> > > To unsubscribe from this discussion, e-mail:
> [users-unsubscr..._at_tortoisesvn.tigris.org].
> >
> >
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
> >
> > To unsubscribe from this discussion, e-mail:
> [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1040801
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_tortoisesvn.tigris.org].

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-21 11:03:09 CET

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.