> Am Dienstag, den 04.02.2014, 23:37 -0600 schrieb Peter Samuelson: 
> > What would you expect the software to say in a mixed-rev wc?

[Fabian Greffrath]
> I don't know, I have never worked with such a repository (and my patch
> only addresses the simple single-rev wc case). 

I doubt that.  Mixed-rev working copies are the common case, not the
exception.  Almost every time you run 'svn commit', you get a mixed-rev
wc.  The files you commit are updated to the revision you committed,
while the rest of the wc is not.

To understand why this happens, consider 2 facts:

  - You are permitted to commit from an out-of-date wc, so long as the
    specific files you are committing are up to date;

  - 'svn commit' does not automatically run 'svn update'.


> What does it say which revision it updated to in a mixed-rev wc?

'svn update' always updates to a single revision (HEAD by default, or
you can specify a revision with -r), so it prints that single revision.
(Well, except for externals, but those are handled separately, as
though you were running 'svn update' individually for each external.)

Of course you can update just a subset of the wc (e.g., 'svn update
foo.txt'), to create a mixed-rev wc, but 'update' itself still only has
a single target revision to report.

Peter


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to