OS Version ist OS X Version 10.9. (maveriks). The file was php
Hi,
I have tried to reproduce using simple actions, like modifying the file using vi, but the problem does not happen. I occurs only when using subversion.
To reproduce I perform this steps:
· I edit a file with textmate. This file is in a linux machine and I use samba to access it from TextMate. · I update the file using subversion (svn up <file name>. Subversion merge this file with changes of my coworkers. · I close TextMate and I reopen it. We do this because with former versions of textmate we had problems, we lost changes of other coworkers when we undo our changes in texmate. · I see the file in TexMate. The file is incomplete. The last lines are lost. If my coworkers deleted lines, then I have extra binary 0 characters at the end of the file instead.
subversion version 1.6.17
TextMate version 2.0-alpha.9497 (downloaded few days ago) OS Version ist OS X Version 10.9. (maveriks). The file was php
Regards,
2013/12/13 Allan Odgaard mailinglist@textmate.org
On 13 Dec 2013, at 18:15, Jesús Baquedano wrote:
if I open a file with text mate 2, I modify the file from outside and I reopen the file with text mate, text mate does not load the entire file.
That shouldn’t happen. Can you provide more detailed steps to reproduce?
See e.g. https://github.com/textmate/textmate/wiki/Writing-Bug-Reports
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Juan Jesús Baquedano Bruna
Centro Tecnológico qInnova
UNED Tudela
Tlf: 948 821535 (ext 8) www.unedtudela.es
On 18 Dec 2013, at 21:54, Jesús Baquedano wrote:
[…] I occurs only when using subversion […] file is in a linux machine and I use samba to access it from TextMate […] I see the file in TexMate. The file is incomplete. The last lines are lost […]
Sounds like it could be a problem with the network file system, especially since you re-open the file in TextMate and still see the last part missing, i.e. the network file system locally cached the file prior to it having been fully written by subversion.
Did you try to open the file with another application?
You mention the file being open in TextMate while updating it on the linux server. What if you close the file before updating it (TextMate keeps the file open for “events only” to be notified about changes, perhaps this plays a role in the network file system’s behaviour)?