You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by OpenMacNews <us...@spamgourmet.com> on 2004/01/11 19:00:48 UTC
newbie: confused abt merging checkouts w/ co, up, sw ...
hi all,
i've imported the following dirs into my svn repository (svnrepo):
svrepo
|
|-- master/
| |--apples/{contents of apples}
| |--oranges/{contents of oranges}
|
|-- dev_apples/{contents of dev_apples}
|
|-- dev_oranges/{contents of dev_oranges}
my TARGET goal is to populate (chekcout, update, switch?) repository files into a resultant hierarchy of:
project_directory
|
|-- apples/{contents of apples} + {contents of dev_apples}
|
|-- oranges/{contents of oranges} + {contents of dev_oranges}
BUT, i can't figure out how to get there!
my first steps were:
cd project_directory
svn checkout svn://localhost/svnrepo/master/apples apples/
svn checkout svn://localhost/svnrepo/master/oranges oranges/
resulting, as expected, in:
project_directory
|
|-- apples/{contents of apples}
|
|-- oranges/{contents of oranges}
however, a subsequent attempt to checkout, e.g., the dev_apples/* files INTO the apples/ dir:
svn checkout svn://localhost/svnrepo/master/dev_apples apples/
fires an error that the dir is already being used.
a try with 'switch':
svn checkout svn://localhost/svnrepo/master/dev_apples apples/
works, but REPLACES (rather than adds/merges) the the apples/ dir with dev_apples/* files, i.e.:
project_directory
|
|-- apples/{contents of dev_apples}
QUESTION:
What sequence of svn commands will get me to my TARGET goal?
Or, do I have to cp/mv/etc. the files into a target dir, from individually svn co'd dirs?
thanks!
richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by OpenMacNews <us...@spamgourmet.com>.
-- On Sunday, January 11, 2004 4:49 PM -0600 Ben Collins-Sussman <su...@collab.net> wrote:
> On Sun, 2004-01-11 at 16:42, OpenMacNews wrote:
>
>>
>> QUESTION:
>>
>> i presume that when i *do* find a new Xaraya module in a bk checkout, i can simply add it to the svn hierarchy i've
>> created, and, likewise, then ADD to the svn:externals property, true?
>
> Yup.
>
>>
>> do i then need to reinit/restart the svnserve daemon? or are property updates/changes dynamic?
>>
>
> Restart the server? Are you kidding? :-)
well ... er ... ya know ... uh ...
> You need to read the book chapter about properties. They're versioned
> data, just like file contents. We're talking about changing a property
> in your working copy, then doing an ordinary 'svn commit'.
beer open, chapter printing ...
>> > Replicating from bitkeeper to svn isn't a trivial thing... you might
>> > want to ask Ben Collins about his mirroring system. Hm.
>>
>> "Hey Ben!" I'd like to ask about your mirroring system ...
>
> I dunno if reads this list. He might only read the dev@ list.
>
thanks for your all your help!
cheers,
richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by Ben Collins-Sussman <su...@collab.net>.
On Sun, 2004-01-11 at 16:42, OpenMacNews wrote:
>
> QUESTION:
>
> i presume that when i *do* find a new Xaraya module in a bk checkout, i can simply add it to the svn hierarchy i've
> created, and, likewise, then ADD to the svn:externals property, true?
Yup.
>
> do i then need to reinit/restart the svnserve daemon? or are property updates/changes dynamic?
>
Restart the server? Are you kidding? :-)
You need to read the book chapter about properties. They're versioned
data, just like file contents. We're talking about changing a property
in your working copy, then doing an ordinary 'svn commit'.
> > Replicating from bitkeeper to svn isn't a trivial thing... you might
> > want to ask Ben Collins about his mirroring system. Hm.
>
> "Hey Ben!" I'd like to ask about your mirroring system ...
I dunno if reads this list. He might only read the dev@ list.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RESOLVED Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by OpenMacNews <us...@spamgourmet.com>.
-- On Sunday, January 11, 2004 11:24 PM -0600 Ben Collins-Sussman <su...@collab.net> wrote:
> On Sun, 2004-01-11 at 22:15, OpenMacNews wrote:
>
>>
>> what am i missing here? since i'm using svnserved, not apache, and thus "svn:" not "http:", is this a problem?
>>
>
> What you're missing here is a basic understanding of properties in
> general, which is documented as a whole section of chapter 7:
>
> http://svnbook.red-bean.com/html-chunk/ch07s02.html
>
> You really need to understand properties in general, before jumping to
> this specific property. I recommend you read it. :-)
already have, several times ... :-S
> The problem here is that the value of a property is a *single string*.
> The propset command is great if you're setting a property value which is
> a single word, or some string that you put in "double quotes" so that
> your shell understands it's one string.
> But the svn:externals property requires that the value contain newlines,
> and look something like a table. The easiest way to create such a
> complex property value is to use 'svn propedit' (which launches $EDITOR
> for you), rather than 'svn propset'. But if you decide to use 'svn
> propset' anyway, then use the -F option so that it grabs the value from
> some random tmpfile you've created.
doh! & aha!
i'd been balking at -- and getting confused by -- the loooong propedit file necessary to sync the *many* subdirs in
dev_modules/ into my working dir "doc_root"
it seems that that's exactly what's needed here .... and now i more clearly understand your earlier post's point about
'the bad news' ...
soooo, its all working now ... :-) thanks!
i'm suspicious that there's "got to be a better way" ... and perhaps my contacts with the "other Ben Collins" in search
of BitKeeper/SubVersion mirroring *may* have some influence ...
richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by Ben Collins-Sussman <su...@collab.net>.
On Sun, 2004-01-11 at 22:15, OpenMacNews wrote:
>
> what am i missing here? since i'm using svnserved, not apache, and thus "svn:" not "http:", is this a problem?
>
What you're missing here is a basic understanding of properties in
general, which is documented as a whole section of chapter 7:
http://svnbook.red-bean.com/html-chunk/ch07s02.html
You really need to understand properties in general, before jumping to
this specific property. I recommend you read it. :-)
The problem here is that the value of a property is a *single string*.
The propset command is great if you're setting a property value which is
a single word, or some string that you put in "double quotes" so that
your shell understands it's one string.
But the svn:externals property requires that the value contain newlines,
and look something like a table. The easiest way to create such a
complex property value is to use 'svn propedit' (which launches $EDITOR
for you), rather than 'svn propset'. But if you decide to use 'svn
propset' anyway, then use the -F option so that it grabs the value from
some random tmpfile you've created.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by OpenMacNews <us...@spamgourmet.com>.
-- On Sunday, January 11, 2004 2:42 PM -0800 OpenMacNews <us...@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
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by OpenMacNews <us...@spamgourmet.com>.
-- On Sunday, January 11, 2004 4:25 PM -0600 Ben Collins-Sussman <su...@collab.net> wrote:
> On Sun, 2004-01-11 at 15:53, OpenMacNews wrote:
>> |
>> | -----dev_modules
>> | |
>> | | -- dev_module_1
>> | | | -- {dev_module_1_files}
>> | |
>> | | -- dev_module_2
>> | | | -- {dev_module_1_files}
>> |
>> | -----dev_themes
>
> Okay, so my first question: it seems like you've laid out the
> repository this way because you imagine three separate "projects": one
> project is named 'stable', one is named 'dev_modules', and one is named
> 'dev_themes'.
i'm not that clever! i laid out the repository this way cuz that's the way the Xaraya sources are arranged, in
seemingly three 'projects': stable, modules & themes
> But is 'dev_modules' really a project? Or is it just a directory
> holding a bunch of separate projects?
yes, it's a 'holding tank' for separately contributed/managed projects
> I mean, might it not be easier to think of 'dev_module_1' as a project?
easier? clearer? dunno ... to my way of thinking it depends on who's whiew you take. that of the individual
(dev_modules_N) 'projects', or of the Xaraya team's management-of-all-projects-as-a-project view ....
> I'll explain why I'm thinking this way further down.
< ... reading further ... >
>> doc_root
>> |
>> | -- {doc_root_files}
>> |
>> | -- themes/
>> | |
>> | | -- theme_1
>> | | | -- {theme_1_files}
>> | |
>> | | -- theme_2
>> | | | -- {theme_2_files}
>> | |
>> | | -- dev_theme_1
>> | | | -- {dev_theme_1_files}
>> | |
>> | | -- dev_theme_2
>> | | -- {dev_theme_2_files}
>> |
>> | -- modules/
>> |
>> | -- module_1
>> | | -- {module_1_files}
>> |
>> | -- module_2
>> | | -- {module_2_files}
>> |
>> | -- dev_module_1
>> | | -- {dev_module_1_files}
>> |
>> | -- dev_module_2
>> | -- {dev_module_2_files}
>>
>
> Okay, so you want to run 'svn checkout', and get a working copy
> structured like the above.
yup
> 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:
'svn:externals'? ok, so i'm RTFM'ing ... (i clearly missed the 'shallow end of the pool' !)
> 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
>
> Now, when you run 'svn checkout http://host/repos/stable', you'll first
> get a complete copy of the 'stable' directory, and then you'll get 4
> "extra" checkouts happening within your working copy's themes/ and
> modules/ areas.
aha! cool! if i understand correctly, this'll do the trick ...
> The bad news is, if you add a new module or theme to the dev areas,
> you'll need to also add it to the svn:externals definition. There's no
> automated correpsondence.
>
>> (a) automate the 'bk get' of latest Xaraya dev files in the hierarchy they're maintained/presented
>> (b) integrate the Xaraya files into a svn-owned vms tree
>> (c) pull from svn into the working hierarchy that i need
fair enuf. can't have everything, i suppose ....
QUESTION:
i presume that when i *do* find a new Xaraya module in a bk checkout, i can simply add it to the svn hierarchy i've
created, and, likewise, then ADD to the svn:externals property, true?
do i then need to reinit/restart the svnserve daemon? or are property updates/changes dynamic?
> Replicating from bitkeeper to svn isn't a trivial thing... you might
> want to ask Ben Collins about his mirroring system. Hm.
"Hey Ben!" I'd like to ask about your mirroring system ...
thanks!
richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by Ben Collins-Sussman <su...@collab.net>.
On Sun, 2004-01-11 at 15:53, OpenMacNews wrote:
> svnrepo
> |
> |-----stable
> | |
> | |-- {doc_root_files}
> | |
> | |-- themes/
> | | |
> | | |-- theme_1
> | | | |-- {theme_1_files}
> | | |
> | | |-- theme_2
> | | |-- {theme_2_files}
> | |
> | |-- modules/
> | | |
> | |-- module_1
> | | |-- {module_1_files}
> | |
> | |-- module_2
> | |-- {module_2_files}
> |
> |-----dev_modules
> | |
> | |-- dev_module_1
> | | |-- {dev_module_1_files}
> | |
> | |-- dev_module_2
> | | |-- {dev_module_1_files}
> |
> |-----dev_themes
> |
> |-- dev_themes_1
> | |-- {dev_themes_1_files}
> |
> |-- dev_themes_2
> | |-- {dev_themes_1_files}
>
>
Okay, so my first question: it seems like you've laid out the
repository this way because you imagine three separate "projects": one
project is named 'stable', one is named 'dev_modules', and one is named
'dev_themes'.
But is 'dev_modules' really a project? Or is it just a directory
holding a bunch of separate projects? I mean, might it not be easier to
think of 'dev_module_1' as a project? I'll explain why I'm thinking
this way further down.
> doc_root
> |
> |-- {doc_root_files}
> |
> |-- themes/
> | |
> | |-- theme_1
> | | |-- {theme_1_files}
> | |
> | |-- theme_2
> | | |-- {theme_2_files}
> | |
> | |-- dev_theme_1
> | | |-- {dev_theme_1_files}
> | |
> | |-- dev_theme_2
> | |-- {dev_theme_2_files}
> |
> |-- modules/
> |
> |-- module_1
> | |-- {module_1_files}
> |
> |-- module_2
> | |-- {module_2_files}
> |
> |-- dev_module_1
> | |-- {dev_module_1_files}
> |
> |-- dev_module_2
> |-- {dev_module_2_files}
>
Okay, so you want to run 'svn checkout', and get a working copy
structured like the above.
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
Now, when you run 'svn checkout http://host/repos/stable', you'll first
get a complete copy of the 'stable' directory, and then you'll get 4
"extra" checkouts happening within your working copy's themes/ and
modules/ areas.
The bad news is, if you add a new module or theme to the dev areas,
you'll need to also add it to the svn:externals definition. There's no
automated correpsondence.
> (a) automate the 'bk get' of latest Xaraya dev files in the hierarchy they're maintained/presented
> (b) integrate the Xaraya files into a svn-owned vms tree
> (c) pull from svn into the working hierarchy that i need
Replicating from bitkeeper to svn isn't a trivial thing... you might
want to ask Ben Collins about his mirroring system. Hm.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by OpenMacNews <us...@spamgourmet.com>.
> On Sun, 2004-01-11 at 14:30, OpenMacNews wrote:
>
>> fair enuf ... but once i've done the 'svn mv' locally, and make any changes to now-merged file collections in
>> "apples/" and "oranges/" (per my earlier example ...) when I commit, WHAT am I committing back INTO? the SEPARATE
>> dirs (e.g., .../apples/ and .../dev_apples/? or, now, everything back into "just" .../apples/)?
>
> What you're trying to do is pretty awkward, and not possible in
> Subversion. There's no way for a working-copy directory tor eflect the
> "union" of two repository directories.
>
> You can use 'svn switch' to make sub-trees of your working copy map to
> specific sub-trees in the repository, but that's just a simple tree
> rearrangement. The most common case for that is, "please switch this
> subdirectory here to a branch."
>
> But that's as far as the idea goes. You can mix and match repository
> subtrees, but not the *contents* of directories. Moving files doesn't
> work. You don't want to move files; that would imply moving them in
> the repository once you do a commit, and you certainly don't want things
> to move around in the repository.
>
> I think you need to explain your rationale... what problem are you
> trying to solve, and how does laying out your repository in a certain
> way (and wanting the "union" feature) help you solve the problem?
> Chances are, there's probably a much simpler solution.
hi,
<confused> all you unreasonable people expecting me to be able to 'splain myself' ;-)
ok, here's my rationale ... as much as its rational! ... using a specific example.
it all starts around use of the Xaraya cms/portal system .... and three 'factoids':
(1) i've never 'seriously' used a version mgmt sys; only cvs for 'lite' work
(2) xaraya uses bitkeeper, and i don't want to
(3) my intent/goal is to use/manage with subversion
now, to the example ... for my own sanity's sake, i'll describe step-by-step ...
a 'standard' install of a 'release version' installs the following, e.g., in an Apache doc_root:
doc_root
|
|-- {doc_root_files}
|
|-- themes/
| |
| |-- theme_1
| | |-- {theme_1_files}
| |
| |-- theme_2
| |-- {theme_2_files}
|
|-- modules/
| |
| |-- module_1
| | |-- {module_1_files}
| |
| |-- module_2
| |-- {module_2_files}
i'm interested in DL'ing the Xaraya project's dev(head) version using THEIR version management system (bitkeeper), and
merging/union-ing selected files/dirs, into my subversion hierarchy, and eventually my working dirs ...
# 'get' the Xaraya dev dirs into a working dir:
mkdir ~/work
bk clone http://www.xaraya.com:15000/stable ~/work/stable
bk clone http://www.xaraya.com:15000/modules ~/work/modules
bk clone http://www.xaraya.com:15000/themes ~/work/themes
# create/initialize a svn repository:
mkdir /usr/local/svnrepo
svnadmin create /usr/local/svnrepo
# create a dummy tree hierarchy:
mkdir -p ~/tempdir/xaraya_dev/stable
mkdir -p ~/tempdir/xaraya_dev/dev_modules
mkdir -p ~/tempdir/xaraya_/dev/dev_themes
# import Xaraya bk clones into svn tree
svn import ~/tempdir/xaraya_dev/stable file:///usr/local/svnrepo/xaraya_dev/stable
svn import ~/tempdir/xaraya_dev/modules file:///usr/local/svnrepo/xaraya_dev/dev_modules
svn import ~/tempdir/xaraya_dev/themes file:///usr/local/svnrepo/xaraya_dev/dev_themes
where the svnrepo listing is, effectively:
svnrepo
|
|-----stable
| |
| |-- {doc_root_files}
| |
| |-- themes/
| | |
| | |-- theme_1
| | | |-- {theme_1_files}
| | |
| | |-- theme_2
| | |-- {theme_2_files}
| |
| |-- modules/
| | |
| |-- module_1
| | |-- {module_1_files}
| |
| |-- module_2
| |-- {module_2_files}
|
|-----dev_modules
| |
| |-- dev_module_1
| | |-- {dev_module_1_files}
| |
| |-- dev_module_2
| | |-- {dev_module_1_files}
|
|-----dev_themes
|
|-- dev_themes_1
| |-- {dev_themes_1_files}
|
|-- dev_themes_2
| |-- {dev_themes_1_files}
now, here's the 'meat' ---- getting the files/dirs into my working 'doc_root'.
my goals are to:
(1) move the CONTENTS of svnrepo/stable to doc_root
(2) add the CONTENTS of svnrepo/dev_modules to doc_root/modules
(3) add the CONTENTS of svnrepo/dev_themes to doc_root/themes
so that i END UP with:
doc_root
|
|-- {doc_root_files}
|
|-- themes/
| |
| |-- theme_1
| | |-- {theme_1_files}
| |
| |-- theme_2
| | |-- {theme_2_files}
| |
| |-- dev_theme_1
| | |-- {dev_theme_1_files}
| |
| |-- dev_theme_2
| |-- {dev_theme_2_files}
|
|-- modules/
|
|-- module_1
| |-- {module_1_files}
|
|-- module_2
| |-- {module_2_files}
|
|-- dev_module_1
| |-- {dev_module_1_files}
|
|-- dev_module_2
|-- {dev_module_2_files}
via this process (i think), i can:
(a) automate the 'bk get' of latest Xaraya dev files in the hierarchy they're maintained/presented
(b) integrate the Xaraya files into a svn-owned vms tree
(c) pull from svn into the working hierarchy that i need
i'll shut up now, and listen to those wiser/more experienced than me for education/comments/suggestions!
thanks!
richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by Ben Collins-Sussman <su...@collab.net>.
On Sun, 2004-01-11 at 14:30, OpenMacNews wrote:
> fair enuf ... but once i've done the 'svn mv' locally, and make any changes to now-merged file collections in "apples/"
> and "oranges/" (per my earlier example ...) when I commit, WHAT am I committing back INTO? the SEPARATE dirs (e.g.,
> .../apples/ and .../dev_apples/? or, now, everything back into "just" .../apples/)?
What you're trying to do is pretty awkward, and not possible in
Subversion. There's no way for a working-copy directory tor eflect the
"union" of two repository directories.
You can use 'svn switch' to make sub-trees of your working copy map to
specific sub-trees in the repository, but that's just a simple tree
rearrangement. The most common case for that is, "please switch this
subdirectory here to a branch."
But that's as far as the idea goes. You can mix and match repository
subtrees, but not the *contents* of directories. Moving files doesn't
work. You don't want to move files; that would imply moving them in
the repository once you do a commit, and you certainly don't want things
to move around in the repository.
I think you need to explain your rationale... what problem are you
trying to solve, and how does laying out your repository in a certain
way (and wanting the "union" feature) help you solve the problem?
Chances are, there's probably a much simpler solution.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by Francois Beausoleil <fb...@users.sourceforge.net>.
On Sun, 11 Jan 2004 12:30:05 -0800, "OpenMacNews"
<us...@spamgourmet.com> said:
> hi,
>
[snip]
> >
> > I believe you will have to svn mv each individual files and folders into
> > their target folders. It will help if you svn co your whole repository,
> > because you will be able to svn mv the files locally, and not have
> > intermediate commits.
>
> fair enuf ... but once i've done the 'svn mv' locally, and make any
> changes to now-merged file collections in "apples/"
> and "oranges/" (per my earlier example ...) when I commit, WHAT am I
> committing back INTO? the SEPARATE dirs (e.g.,
> .../apples/ and .../dev_apples/? or, now, everything back into "just"
> .../apples/)?
>
[snip]
When you commit, you commit from the root of your locally checked out
repository, and Subversion will tell the repository "Move this file here,
and this other one here too", etc, ad-nauseum.
But as Ben said in another message in this thread, if you explained your
requirements better, we might be able to provide more information.
Bye !
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by OpenMacNews <us...@spamgourmet.com>.
hi,
thanks for your reply!
> On Sun, 11 Jan 2004 11:00:48 -0800, "OpenMacNews"
> <us...@spamgourmet.com> said:
>> hi all,
>>
> [snip]
>>
>> QUESTION:
>>
>> What sequence of svn commands will get me to my TARGET goal?
>>
>> Or, do I have to cp/mv/etc. the files into a target dir, from
>> individually svn co'd dirs?
> [snip]
>
> I believe you will have to svn mv each individual files and folders into
> their target folders. It will help if you svn co your whole repository,
> because you will be able to svn mv the files locally, and not have
> intermediate commits.
fair enuf ... but once i've done the 'svn mv' locally, and make any changes to now-merged file collections in "apples/"
and "oranges/" (per my earlier example ...) when I commit, WHAT am I committing back INTO? the SEPARATE dirs (e.g.,
.../apples/ and .../dev_apples/? or, now, everything back into "just" .../apples/)?
> Hope that helps,
> François
> Developer of Java Gui Builder
> http://jgb.sourceforge.net/
it does, thanks!
additional question re: version management (unique to subversion?):
is it, in general practice, "better" to manage a single repository with multiple directories, or to
create/manage multiple repositories
richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: newbie: confused abt merging checkouts w/ co, up, sw ...
Posted by Francois Beausoleil <fb...@users.sourceforge.net>.
Hi,
On Sun, 11 Jan 2004 11:00:48 -0800, "OpenMacNews"
<us...@spamgourmet.com> said:
> hi all,
>
[snip]
>
> QUESTION:
>
> What sequence of svn commands will get me to my TARGET goal?
>
> Or, do I have to cp/mv/etc. the files into a target dir, from
> individually svn co'd dirs?
[snip]
I believe you will have to svn mv each individual files and folders into
their target folders. It will help if you svn co your whole repository,
because you will be able to svn mv the files locally, and not have
intermediate commits.
Hope that helps,
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org