Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-05

svn update problems (again)

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bart

I tried to update Lazarus (cuurently r29157).

bart at simenon:~/svnroot/lazarus> svn update
...
A components/synedit/languages/syndesignstringconstants.ru.po A components/synedit/languages/synhighlighterunixshellscript.pt_BR.po svn: Failed to add file
'components/synedit/languages/syneditstrconst.po': object of the same name already exists

(I decided to delete it)

bart at simenon:~/svnroot/lazarus> svn delete --force components/synedit/languages/syneditstrconst.po
bart at simenon:~/svnroot/lazarus> svn update
U components/synedit/languages/synmacrorecorder.it.po A components/synedit/languages/syneditstrconst.po A components/synedit/languages/syneditstrconst.fr.po A components/synedit/languages/syneditstrconst.nl.po svn: Failed to add file
'components/synedit/languages/syndesignstringconstants.po': object of the same name already exists

(again I had to delete)

svn delete --force
components/synedit/languages/syndesignstringconstants.po

after this the update went OK.

Any ideas on how this happens, why does it add, when it should update these files?

bart at simenon:~/svnroot/lazarus> svn --version
svn, version 1.3.2 (r19776)

Bart

Reply by email

Vincent Snijders
to Bart

2011/5/22 Bart :

Show quoted text 14 lines
I tried to update Lazarus (cuurently r29157). bart at simenon:~/svnroot/lazarus> svn update ... A ? ?components/synedit/languages/syndesignstringconstants.ru.po A ? ?components/synedit/languages/synhighlighterunixshellscript.pt_BR.po svn: Failed to add file 'components/synedit/languages/syneditstrconst.po': object of the same name already exists (I decided to delete it) bart at simenon:~/svnroot/lazarus> svn delete --force components/synedit/languages/syneditstrconst.po

With svn delete you prepare for deletion in the svn repository (happens after svn commit).

If you want to delete it locally, use rm
components/synedit/languages/syneditstrconst.po

Vincent

Reply by email

Mattias Gaertner
to Vincent Snijders
Show quoted text 12 lines
2011/5/22 Bart : > I tried to update Lazarus (cuurently r29157). > > bart at simenon:~/svnroot/lazarus> svn update > ... > A ? ?components/synedit/languages/syndesignstringconstants.ru.po > A ? ?components/synedit/languages/synhighlighterunixshellscript.pt_BR.po > svn: Failed to add file > 'components/synedit/languages/syneditstrconst.po': object of the same > name already exists > > (I decided to delete it)

Good.

The error is shown because the file was not in svn, but the file was created by the IDE. Then someday the file was added to svn. So thenext update svn tried to create this file which resulted in the above message: "object of the same name already exists".

Therefore: Simply delete the file with rm or unlink as Vincent wrote.

Show quoted text 8 lines
> bart at simenon:~/svnroot/lazarus> svn delete --force > components/synedit/languages/syneditstrconst.po With svn delete you prepare for deletion in the svn repository (happens after svn commit). If you want to delete it locally, use rm components/synedit/languages/syneditstrconst.po

Mattias

Reply by email

Bart
to Mattias Gaertner

Thanks Vincent and Mattias.

Bart

Mattias Gaertner wrote 44 lines
On Sun, 22 May 2011 21:21:31 +0200 Vincent Snijders wrote: > 2011/5/22 Bart : > > I tried to update Lazarus (cuurently r29157). > > > > bart at simenon:~/svnroot/lazarus> svn update > > ... > > A ? ?components/synedit/languages/syndesignstringconstants.ru.po > > A ? ?components/synedit/languages/synhighlighterunixshellscript.pt_BR.po > > svn: Failed to add file > > 'components/synedit/languages/syneditstrconst.po': object of the same > > name already exists > > > > (I decided to delete it) Good. The error is shown because the file was not in svn, but the file was created by the IDE. Then someday the file was added to svn. So thenext update svn tried to create this file which resulted in the above message: "object of the same name already exists". Therefore: Simply delete the file with rm or unlink as Vincent wrote. > > bart at simenon:~/svnroot/lazarus> svn delete --force > > components/synedit/languages/syneditstrconst.po > > With svn delete you prepare for deletion in the svn repository > (happens after svn commit). > > If you want to delete it locally, use > rm components/synedit/languages/syneditstrconst.po Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email