Originally posted to Subversion's user mailing list but moving this here 
because it appears to be a TortoiseSVN issue.

I'm experiencing an issue with wildcards when using the command line svn 
client installed with TortoiseSVN 1.10.1, Build 28295 - 64 Bit, 2018/07/15 
12:14:12, on Windows 10 Home 1803 build 17134.254.

The problem is that when I use a wildcard (i.e., the '*'), svn only "sees" 
the first letter of the first matching filename.

For example:

E:\workspace\BSP>dir *.h
 Volume in drive E is WORK
 Volume Serial Number is D28A-433E

 Directory of E:\workspace\BSP

09/03/2018  04:12 PM               828 BSP-Global.h
09/03/2018  04:12 PM               568 BSP-Main.h
09/03/2018  04:12 PM               632 DigitalInputs.h
09/03/2018  04:12 PM             8,528 DigitalInputsAutoGen.h
09/03/2018  04:12 PM               731 DigitalOutputs.h
09/03/2018  04:12 PM            10,073 DigitalOutputsAutoGen.h
09/03/2018  04:12 PM               502 DmaChannels.h
               7 File(s)         21,862 bytes
               0 Dir(s)     250,642,432 bytes free

Now issue a command using a wildcard:

E:\workspace\BSP>svn rm *.h
svn: E200005: Use --force to override this restriction (local modifications 
may be lost)
svn: E200005: 'E:\workspace\BSP\B' is not under version control

Notice that Subversion thinks I referred to E:\workspace\BSP\B. There is no 
file named "B" here (neither with nor without .h extension). It sees 
BSP-Global.h but only the first letter, which is a B.

Also, if I issue a command that issues warnings rather than errors (e.g., 
svn add) with a wildcard, the first filename gets truncated to one letter 
but remaining filenames are not truncated:

E:\workspace\Software>dir a*.h
 Volume in drive E is WORK
 Volume Serial Number is D28A-433E

 Directory of E:\workspace\Software

09/04/2018  11:38 AM               469 Asm_glb.h
09/04/2018  11:38 AM             1,513 Asm_graph.h
09/04/2018  11:38 AM            14,165 Asm_hdr.h
09/04/2018  11:38 AM             3,010 Asm_rec.h
               4 File(s)         19,157 bytes
               0 Dir(s)     511,717,376 bytes free

E:\workspace\Software>svn add a*.h
svn: warning: W155010: 'E:\workspace\Software\A' not found
svn: warning: W150002: 'E:\workspace\Software\Asm_graph.h' is already under 
version control
svn: warning: W150002: 'E:\workspace\Software\Asm_hdr.h' is already under 
version control
svn: warning: W150002: 'E:\workspace\Software\Asm_rec.h' is already under 
version control
svn: E200009: Could not add all targets because some targets are already 
versioned
svn: E200009: Could not add all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation

Again, the first warning refers to a file called "A" but there is no such 
file here. "Asm_glb.h" is truncated to just "A".

This problem is not related to the repository; I experimented with working 
copies coming from different repositories, all of which work when accessed 
from other clients on other machines. In fact the svn add example above 
comes from a different repo than the svn rm example earlier.

I do not have any other svn client installed on this Windows machine.

Branko Čibej suggested that there may be something wrong with the 
setargv.obj linked with this build.

Original thread starts here: 
https://svn.haxx.se/users/archive-2018-09/0008.shtml

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/bfeceacd-2e89-4fe8-afac-3a030b03e4ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to