Actually Marc this seems like a hosed SVN structure to me (on the client
side)
I usually also do the add and then commit independendly way always
worked for me, still does even nowadays, with git-svn instead of plain svn.
Btw. for your problem git-svn is even better, you can structure
your commits in a bunch of local commits and then have git-svn doing
the dcommit of your local commits into the server, it will end up with
the same structure as you had before on your local commit tree.
(But be aware, svn:externals are a no go if you use git-svn)
Werner
Am 04.04.10 15:06, schrieb Mark Struberg:
txs Jan-Kees!
In fact, I did first svn add those files (and even more) and then tried
to svn commit parts of it.
The problem is that I have the following structure
svn add src/test/java/org/apache/.../test/
with the following files TestA, TestB, TestC
and I only like to commit TestA. but
svn commit svn add src/test/java/org/apache/.../test/TestA
but got the following error:
svn:
»/home/msx/develop/java/apache/myfaces/extensions/cdi/trunk/core/api/src/test/java/org/apache/myfaces/extensions/cdi/core/test/api«
ist weder unter Versionskontrolle noch Teil einer Übertragung, dennoch
ist sein Kind
»/home/msx/develop/java/apache/myfaces/extensions/cdi/trunk/core/api/src/test/java/org/apache/myfaces/extensions/cdi/core/test/api/projectstage«
Teil einer Übertragung
This looks pretty much like a SVN error, or I did something wrong.
Usually I can work around with first svn commit -N those directories,
but in this case svn status didn't even showed me which parts are
missing because it 'cleans' recursive directories from the output.
I now commited all in one big go, but this somehow is not very beautiful.
LieGrue,
strub
--- Jan-Kees van Andel /<[email protected]>/ schrieb am *So,
4.4.2010:
*
*
Von: Jan-Kees van Andel <[email protected]>
Betreff: Re: How do you partition SVN commits in myfaces
An: "MyFaces Development" <[email protected]>
Datum: Sonntag, 4. April, 2010 14:06 Uhr
*
*You could try to "svn add" everything (but not commit it), and then
only commit some files/directories.*
*
*
*The issue is probably that you can't commit individual files,
because the parent directory isn't versioned. "svn add"-ing the
parent tree should fix it.*
*
*
*Regards,*
*Jan-Kees*
*
*
*
*
*2010/4/4 Mark Struberg <[email protected]
</mc/[email protected]>>
*
*this would perfectly work in git (where it otoh would not be
necessary at all since the original problem just doesn't exist),
but creating branches in SVN as workaround for this nifty little
checkin problem seems to me like shooting birds with atom bombs.
Honestly, maintaining feature branches in SVN is even more
broken than simple checkins. And in SVN you don't have much
correlation between a file in a branch and a file in trunk. In
SVN a branch and trunk are simply just different directories
which don't know much of each other.
LieGrue,
strub
--- Mike Kienenberger <[email protected]
</mc/[email protected]>> schrieb am So, 4.4.2010:
> Von: Mike Kienenberger <[email protected]
</mc/[email protected]>>
> Betreff: Re: How do you partition SVN commits in myfaces
> An: "MyFaces Development" <[email protected]
</mc/[email protected]>>
> Datum: Sonntag, 4. April, 2010 13:13 Uhr
*
*> I'm not an expert on svn so I can't
> answer your specific question, but
> if you can't find a solution, you could commit everything
> to a branch,
> then merge to trunk individually.
>
> On Sun, Apr 4, 2010 at 7:08 AM, Mark Struberg
<[email protected] </mc/[email protected]>>
> wrote:
> > Hi!
> >
> > I have a really fu.... SVN problem.
> >
> > I did a lot changes to EXTCDI, and wrote a few tests.
> >
> > Now I don't like to commit the whole core/src/test in
> one commit but split it into single commits to match the
> Jirs issues.
> >
> > But once I svn add core/src/test, I cannot commit the
> files beneath it independently because whenever I try to
> commit solo files beneath the tree, I always get a SVN
> failure "this file is not currently under SVN control" which
> is completely wrong as svn status clearly showes a 'A'.
> >
> > So, am I now forced to commit the whole soup in one
> big checkin?
> > This did even work in CVS...
> >
> > oki, any tips out there how to resolve this issue?
> >
> > LieGrue,
> > strub
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Sie sind Spam leid? Yahoo! Mail verfügt über einen
> herausragenden Schutz gegen Massenmails.
> > http://mail.yahoo.com
> >
>
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen
herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
*
*
*
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
gegen Massenmails.
http://mail.yahoo.com