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

Re: newbie: confused abt merging checkouts w/ co, up, sw ...

From: OpenMacNews <users-subversion.20.openmacnews_at_spamgourmet.com>
Date: 2004-01-12 05:15:02 CET

-- On Sunday, January 11, 2004 2:42 PM -0800 OpenMacNews <users-subversion.20.openmacnews@spamgourmet.com> wrote:

>> The good news is, you can certainly do that, using the 'svn:externals'
>> directory property. It's similar to building a module in CVS. You
>> would basically set this property on the repository's /stable directory
>> to something like this:

>> themes/dev_theme_1 http://host/repos/dev_themes/dev_theme_1
>> themes/dev_theme_2 http://host/repos/dev_themes/dev_theme_2
>> modules/dev_module_1 http://host/repos/dev_modules/dev_module_1
>> modules/dev_module_2 http://host/repos/dev_modules/dev_module_2

ok, i'm having no luck here whatsoever ...

from svn help propset:

        propset (pset, ps): Set PROPNAME to PROPVAL on files, dirs, or revisions.
        usage: 1. propset PROPNAME [PROPVAL | -F VALFILE] PATH...
               2. propset PROPNAME --revprop -r REV [PROPVAL | -F VALFILE] [URL]

          1. Creates a versioned, local propchange in working copy.
          2. Creates an unversioned, remote propchange on repos revision.

            svn:externals - A newline separated list of module specifiers,
              each of which consists of a relative directory path, optional
              revision flags, and an URL. For example
                foo http://example.com/repos/zig
                foo/bar -r 1234 http://example.com/repos/zag

and from "the book"

        Fortunately, Subversion provides support for externals definitions. An externals definition is a mapping of a
        local directory to the URL of a versioned resource. In Subversion, you declare externals definitions in groups
        using the svn:externals property. This property is set on a versioned directory, and its value is a multi-line
        table of subdirectories (relative to the versioned directory on which the property is set) and Subversion
        repository URLs.

        $ svn propget svn:externals calc
        third-party/sounds http://sounds.red-bean.com/repos
        third-party/skins http://skins.red-bean.com/repositories/skinproj
        third-party/skins/toolkit http://svn.red-bean.com/repos/skin-maker

lacking specific examples, its still a bit confusing ...

so trying, in my "doc_root",

        % svn propset svn:externals themes/dev_theme_1 svn://localhost/svnrepo/themes/dev_theme_1

simply results in:

        subversion/libsvn_client/prop_commands.c:149: (apr_err=200007)
        svn: Setting property on non-local target svn://localhost/svnrepo/themes/dev_theme_1' not yet supported.

what am i missing here? since i'm using svnserved, not apache, and thus "svn:" not "http:", is this a problem?

also, am i correct in assuming that the instruction -- "A newline separated list of module specifiers" refers to the
commands in a FILE, not on the command line?

where is that FILE supposed to be ... "in" the working copy directory?

thanks,

richard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 12 05:15:44 2004

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.