Hi Daniel

Yes I am sure it is the same file and yes to the UTF-16 without BoM. I had
to look up how to do that with my editor - and the Update does not work
unless it is UTF-16.
An option is to save the path file as UTF-16 Big Endian No Bom, as opposed
to just UTF-16 No BoM, could that be it?

The same thing happens on 3 separate PCs too. The other 2 of which are
Windows 10 with the last formal release of Tortoise. The path files for
each PC have been individually written on each PC and they all work for the
update but not for the commit.
My files are attached in case you can spot something I've got wrong.

The command line files are normally .bat but gmail won't attach those.

Thanks for the prompt response.

Regards

Neil

The snip shows my editor (Ultraedit) showing UTF-16.


[image: image.png]



Neil Peers
Director
Medina Electronics Design Consultancy Ltd
The White House
Marks Corner
Newport
Isle Of Wight
PO30 5UD

0771 737 5917
www.medina-electronics.co.uk
Company Registration Nos. 13912894


On Thu, 6 Apr 2023 at 14:49, Daniel Sahlberg via TortoiseSVN <
[email protected]> wrote:

> torsdag 6 april 2023 kl. 14:05:00 UTC+2 skrev
> [email protected]:
>
> Windows 11 platform, Tortoise 1.14.99 Build 29538
> I have written a script using command:update /pathfile pointing to a file
> which has a list of paths to folders to update, this works as expected.
>
> If I copy the the same script and use command:commit instead of update, it
> does not work. The GUI opens with the list of paths but on pressing OK I
> get a Commit fail message with the Error Message  "<path> is not under
> version control"
>
> If I try a single line commit  using  /path:"<path>"  it does work.
>
> <path> is of course appropriate to each folder, such
> as C:\MEDC\CorporateDocs\trunk\
>
> If the update using pathfile works and commit using a single path works
> but commit using pathfile, to the same file as in the update, doesn't, what
> am I doing wrong please?
>
>
> As far as I can tell (also from testing) it should behave exactly the same
> with both update and commit. Are you sure you have exactly the same file
> contents and also that the file is UTF-16 without BOM (see the manual, [1])?
>
> Kind regards,
> Daniel
>
>
> [1]
> https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics
>
>
>
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TortoiseSVN" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tortoisesvn/bXmlp0DsZ_k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tortoisesvn/0504e9e5-5fde-4a03-8ba0-c791ea194b77n%40googlegroups.com
> <https://groups.google.com/d/msgid/tortoisesvn/0504e9e5-5fde-4a03-8ba0-c791ea194b77n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAA8-Lm8wBESAcWCChLOw5K7o_dJ_n3Y-zNWBotDAqkC51e0XQQ%40mail.gmail.com.
C:\MEDC\CorporateDocs\trunk\
C:\AltiumSetUp\3D-Models\trunk\
C:\AltiumSetUp\AltiumLibraries\trunk\
C:\AltiumSetUp\AltiumPreferences\trunk\
C:\AltiumSetUp\AltiumTemplates\trunk\
C:\AltiumSetUp\Datasheets\trunk\
C:\AltiumSetUp\PCBLibraries\trunk\
Tortoiseproc.exe /command:update 
/pathfile:"C:\users\neilp\PathToFilesForTortoise.txt" /closeonend:2
Tortoiseproc.exe /command:commit 
/pathfile:"C:\users\neilp\PathToFilesForTortoise.txt" /closeonend:2

Reply via email to