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

Re: "path" during a commit walk

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-12-19 20:06:51 CET

Greg Stein <gstein@lyra.org> writes:
> During the walk for the commit, I need the PATH for the "current" node so
> that I can pass it to svn_wc_prop_*(). But the best that I can come up with
> is to use "." at the start of the walk, and then to append paths on the way
> up/down.
>
> The problem with this, though is when somebody does:
>
> $ svn commit some/dir/way/down
>
> The current directory will not match the root of the commit walk, so the "."
> will not work properly. I think the proper answer is to pass a path into
> the replace_root() editor function.

If someone does

  $ svn commit

that's the same as

  $ svn commit .

just like with CVS. Thus, it works the same as

  $ svn commit some/dir/way/down

that is, for each of the path argument(s), you start a particular
append spree with that argument, telescoping down and back up. If
there's another argument, do the same for that.

Am I missing the point here? (I didn't completely understand the
scenario you were describing, so I might be talking about the wrong
thing.)

-K
Received on Sat Oct 21 14:36:17 2006

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.