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

Re: Base text files, re: IRC chat

From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: Wed, 17 Sep 2008 13:54:13 +0200

"Greg Stein" <gstein_at_gmail.com> wrote on 17.09.2008 13:35:03:

> 2008/9/17 Miha Vitorovic <mvitorovic_at_nil.si>:
> > I know I'm not a Subversion developer, but I hope I can contribute
> > thoughts...
> Absolutely! Your thoughts are most welcome.
> > I'd like to be able to use the new WC in places where the source
> > is not exactly "on disk", and thus does not have the ability to host a
> > mandatory .svn directory. So far the new WC seems to be developing in
> > direction. Or not?
> Correct. You can tell svn to store the metadata in a location of your
> choosing; specifically, outside of the WC. In this case, svn will know
> the WC by its absolute path and will not require any .svn directories
> to be present.
> That said: we've been talking about having a .svn subdir at the root
> of the WC that simply holds a unique identifier. This will allow svn
> to "repair" the link between the central metadata store and the WC if
> it gets moved or copied. I'd like to retain the no-.svn behavior as an
> option, but it will mean that a developer cannot move his WC without
> some extra work to tell svn about the move.
> > Greg, would it be possible to replace "absolute path in the meta data"
> > some arbitrary "signature" that would enable to link the meta data
with the
> > Working copy?
> The .svn/wc-id at the WC root will do this. Outside of that, there is
> no way to have a signature since any/all files in the WC may change
> and throw off any fingerprint of the WC. We have to have some kind of
> svn-private file that the user is not allowed to tweak in order to
> have a persistent signature/identifier for the WC.

Well, I've seen the mention of wcuuid in some other thread. Wouldn't that
be just what is needed? Maybe I should make myself clearer; I'm not
thinking about using a plain vanilla svn client, but rather extending an
existing/writing a new client. In this case it would be up to the client
to provide the correct signature that uniquely identifies a WC. I'm
explaining why I desire this in another message.


  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
Received on 2008-09-17 13:54:30 CEST

This is an archived mail posted to the Subversion Dev mailing list.

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