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

Re: problem: svn status reports same files both "?" and "!" (encoding?, mac os x, svn 1.4.2)

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: 2006-12-19 19:23:12 CET

--On Tuesday, December 19, 2006 7:11 PM +0100 "B. Smith-Mannschott"
<benpsm@gmail.com> wrote:

> Ask for the status of the directory, and you get every file (with
> multi-byte characters) twice. (I'm piping through egrep to filter out
> irrelevant stuff.)
>
> $ svn status --non-recursive --verbose | egrep '[.]doc$'
>
> ? VJ_Überblick.doc
> ? VJ_Geschäftsregeln.doc
> ? VJ_Änderungsübersicht.doc
> 4200 3572 smithma
> VJ_Spezifikation_Validierungsmodul.doc
> ! 4200 1613 ado VJ_Überblick.doc
> ! 4200 4143 ado VJ_Änderungsübersicht.doc
> 4200 4112 ado VJ_Fehlermeldungen.doc
> ! 4200 4112 ado VJ_Geschäftsregeln.doc
>
>
> But, if we ask for the status of the three files explicitly by letting
> the shell expand the *.doc wildcard before calling svn, then no such
> duplication takes place.
>
> $ svn status --non-recursive --verbose *.doc | egrep '[.]doc$'
>
> ? VJ_Änderungsübersicht.doc
> 4200 4112 ado VJ_Fehlermeldungen.doc
> ? VJ_Geschäftsregeln.doc
> 4200 3572 smithma
> VJ_Spezifikation_Validierungsmodul.doc
> ? VJ_Überblick.doc

That's consistent. When you let the shell expand the names, you get the
status for the local filenames that don't exist in the repo.

What are the file names in the shadow copy under .svn/text-base? Except for
having ".svn-base" appended, the filenames should be identical. It sounds
like they're not. Try "ls .svn/text-base > server-names" and "ls >
local-names" and then using your favorite editor to compare the text.

Does "svn status -u" give you the same mismatch?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 19 19:24:13 2006

This is an archived mail posted to the Subversion Users mailing list.