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

[PATCH] Issue 1643: Cannot copy -rBASE while in WC

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-12-21 15:57:24 CET

On Monday 15 December 2003 19:05, John Szakmeister wrote:
> On Monday 15 December 2003 13:09, Francois Beausoleil wrote:
> > Filed as issue #1643:
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1643
> >
> > I didn't know what subscomponent to use, so I put unknown.
>
> Thanks François! Hopefully I can work something up here in the next couple
> of days.
>
> -John

Well, I made a patch for this problem to at least get the command working.
However, it's not an ideal solution since it will go to the network and
contact the repository. I looked at making it go to the text-base, and it
turned out that was going to be a significant change. One that I would feel
uncomfortable committing while we're in Beta.

-John

Log:
Stop 'svn copy -rBASE wc_path1 wc_path2' from failing. This isn't the ideal
answer since it will contact the repository, but presented the least amount of
change given that we're on our way to 1.0.

* subversion/libsvn_client/copy.c
  (repos_to_wc_copy): Updated this function to now take a WC path as a
  parameter, to allow keywords like BASE, PREV, and COMMITTED to be resolved.
  Renamed src_url parameter to src_path_or_url to reflect the change.

  (setup_copy): Stop referring to parameters as being URLs. Instead, indicate
  whether or not we want to go to the repository for the source or
  destination. Also, stop resolving a source path to a URL in the repos->wc
  case. Instead, let repos_to_wc_copy() resolve it, since it needs to wc path
  to resolve the revision parameter correctly.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Sun Dec 21 15:48:29 2003

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

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