terça-feira, 30 de outubro de 2012

SVN old file/directory

Right, I forgot: since some stuff I'll post here will probably be useful for some unsuspecting people who may end up here, I'll write my "memoirs of a work" in a language more suitable for universal use. In other worlds, if can read this, congratulations!

Now, to the first topic: I work as a developer of a library, and I use SVN for the version controlling. So, obladi, oblada, life goes blah blah blah, something incredibly irritating while using that tool is having to delete and add files/directories manually using the tool, not the OS infrastructure. Sometimes you forget to do that, and thing go "yuck", and you discover that only when commiting the work.

The message that appears is something like:

svn: [message] is old. Or something like that. I'll update later.

I found that what worked for me is using the next command:


  • svn update -- force /path/to/file/or/dir


Followed by a manual resolve:


  • svn resolve /path/to/same/file


--Memory written--

Back again...

Quantos "John Doe" devem haver pelo mundo, não?

Thing is, se eu for criar um blog para cada vez que ficar "maluco beleza", os drives do Google vão acabar. Enfim, long story short, quando se é bipolar e se escolhe não se tratar, bad things happen. Or not. Até que meus textos escritos há um ano atrás não foram tão ruins.

Anyway, um ano de medicação espero que seja suficiente para que consiga utilizar este pequeno recanto com mais assiduidade e responsabilidade, o que me leva a explicar alguns motivos pelos quais decidi voltar a escrever:  

1) Vou ter que escrever em breve. É bom começar a treinar.
2) Já pesquisei e perdi e pesquisei de novo para novamente esquecer e pesquisar para... sim, acho que isso seria um bom local para colocar pequenas descobertas do meu trabalho, uma espécie de disco secundário onde colocarei respostas para pequenas perguntas que toda hora faço.
3) Escrever.