Jac wrote:
> Background:
>
> Our infrastructure is one where our developers tends to work on the
> same applications but in different locations (i.e. sometimes on their
> laptops, sometimes on servers etc). We use SVN extensively to govern
> this process with much success. The files that we’re working with are
> in a proprietary binary format, so we set the needs-lock property on
> all of them. Note that sometimes a developer gets the lock on a file
> on his laptop, and sometimes on one of our servers. From the
> repository browser (and some other options) it is easy to determine
> which developers have locks on which files, but not on which
> machines. Potentially one might even be interested in the location
> (folder) on the particular machine. When trying to get the lock on
> different machine (even the same developer) will get an error message
> like:
>
> Error: Path
> Error: /trunk/myfiles/myfile.dat
> Error: is already locked by user 'jac' in filesystem 'D:/SVN/db'
>
>
> D:\SVN\ is the location of the repository (that seems like stating the
> obvious).
>
>
> I’d like something like:
>
> Error: Path
> Error: /trunk/myfiles/myfile.dat
> Error: is already locked by user 'jac' on ‘192.168.0.23’ in ‘c:
> \projects\myfiles’
>
>
> Question:
>
> Is there a way to determine on which machine (using IP-address or
> similar) the lock for any given file is held in addition to who is
> holding it?
No, sorry.
But think about what you're asking here:
you're asking for information about a local machine, showing to
everyone. I'm pretty sure that if you go asking for such a feature on
the Subversion mailing list (that's where this kind of 'feature' would
have to be implemented: in the svn library), you will get rejected right
away because such an error message would be considered a security risk.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-08-18 15:29:31 CEST