Recent Posts
Archives

Posts Tagged ‘SVN’

PostHeaderIcon [DevoxxFR2015] How Git Rescued Our Project (Almost)

Cécilia Bossard, an agile developer at TIM Consulting and co-founder of Women In Technology Nantes, shared a compelling narrative at Devoxx France 2015 about migrating a decade-old software project from SVN to Git. Cécilia detailed how GitFlow streamlined versioning across diverse client deployments, transforming a chaotic process into a manageable one.

Challenges of SVN in a Multi-Version Environment

Cécilia recounted the struggles of managing multiple software versions for clients using SVN. The heterogeneous client base led to complex branching and merging, with the Eclipse SVN plugin causing performance issues due to frequent polling. This inefficiency sparked the team’s decision to explore Git, seeking a more robust solution for their aging product.

This context, Cécilia explained, highlighted SVN’s limitations.

GitFlow’s Streamlined Workflow

Adopting GitFlow, the team established a clear branching model, with feature branches merging seamlessly into development streams. Cécilia shared a developer’s astonishment at completing a day-long merge in minutes, showcasing Git’s efficiency. The migration retained SVN for older versions, porting changes to Git, ensuring continuity while transitioning.

This shift, she noted, revitalized development speed.

Links:

None available

PostHeaderIcon svn: OPTIONS request failed on

Case

IntelliJ IDEA 7.x, version control with Subversion.
When I try to update the project, I get the following error:

Error:svn: unknown host myHost svn: OPTIONS request failed on /myProject/trunk/

On another hand, I can update the project thanks to TortoiseSVN. Then, I conclude the server exists and allows updates.

Fix

Firstly I thought of an issue of proxy, hence check your settings if you face the problem. Else:

  • Shutdown IDEA
  • Delete ~/.IntelliJIdea70/system/caches
  • Restart IDEA

PostHeaderIcon Automatic update with TortoiseSVN

On my current position, I had to update my project with Subversion every morning. It took half an hour every day ; some other guys prefered to update only once a week or twice a month… But they accepted to spend half a day for merges etc.
Yet, I found a way to make this update automatically, thanks to a planned task in Windows XP.

The command that is launched is
"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"C:\the\path\of\my\project" /notempfile /closeonend

Thanks to another planned task, I rebuild the complete project with Maven. And on breakfast I find my project up-to-date with all jars compiled and available.

PostHeaderIcon How to set default keywords to files with Subversion?

Abstract: we would like to add the SVN-keyword $Id$ to all SQL files.

  • go to SVN config folder (mainly $HOME/Subversion/config)
  • search for line:
[auto-props]
  • just below, add the following line:
 *.sql = svn:keywords=Id