-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The problem is this:
The subversion command line client specifically allows mixed revision
working copies,
which sounds like a nightmare, but in fact is exactly the behavior a
CVS user would
expect.
Say all your revisions in the WC are at revision 1.
You change 1 file, and commit it. That file in your working copy (and
in the repo)
is now at version 2, while all other files in the your working copy
remain at
version 1. All other files in the repo are, from the perspective of
your working
copy, in an unknown state. About the best you could say is they're
either at 1
or 1+, or perhaps moved, renamed, or deleted.
Subversion is politely telling you that it would like you to issue an
update
command to get a consistent revision of all the files you're trying to
operate
against.
On Jan 4, 2005, at 11:53 AM, Nick Patavalis wrote:
> On 2005-01-04, Nick Patavalis <npat@inaccessnetworks.com> wrote:
>>
>> Example:
>>
>> 1. svn co svn://server/repo/proj/trunk ./proj
>> 2. svn co svn://server/repo/proj/trunk ./proj1
>> 3. cd ./proj1
>> 4. vi foo.c
>> 5. svn -m "Modified foo.c" ci
>> 6. cd ../proj
>> 7. vi bar.c
>> 8. svn cp . svn://server/repo/proj/tags/tag1
>> 9. svn -m "Modified bar.c" ci
>> 10. svn cp . svn://server/repo/proj/tags/tag2
>>
>> Step (8) fails, complaining that the file "bar.c" is not up to date.
>> On the other hand (6) succeeds, regardless of the fact that "foo.c" is
>> obviously not up to date.
>>
>
> The numbers in the last paragraph are obviously wrong. It should
> instead read:
>
> Step (10) fails, complaining that the file "bar.c" is not up to
> date. On the other hand, (8) succeeds, regardless of the fact the
> "foo.c" is obviously not up to date.
>
> Sorry for the mixup.
> /npat
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
- --
- -- Tom Mornini
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB2wftzaKkuvKwKvcRAiMyAJ4hi6wREASpgW+zkHiK+ls9XwHDDACfQL4G
gkcbmyUjc725EWt8kkxmx7U=
=zjVq
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 4 22:21:14 2005