Showing posts with label SVN. Show all posts
Showing posts with label SVN. Show all posts

Jan 12, 2014

SVN - treat text file as binary.

When I add xml to my SVN I got this one

A (bin) config.xml

To fix this one issue svn command.

svn propset svn:mime-type "text/xml" config.xml

and get an output
property 'svn:mime-type' set on 'config.xml'

:)

Aug 6, 2013

SVN - How to recommit failed commit with svn-commit.tmp

To deal with this, and since we get failed commit the file is created. In some reason this file created so we don't lost the big long comment for our commit.


To reuse the commit info

svn ci -F svn-commit.tmp

INFO: The file also free to delete. just rm it.

Apr 23, 2012

SVN: HOOK Monitoring the commit.

Before, some of my co-develop commit their changes without commit information. In that case we cant easy track the purpose of the committed changes until we we make rule to follow comment template. By the help of svn hook we strictly follow the comment template issued. If you want to check the commit information if satisfy the needed data? Try to look pre-commit.tmpl * copy the hook template pre-commit.tmpl and set the permission to executable.
$ cp pre-commit.tmpl pre-commit
$ chmod 755 pre-commit
For other hooks try to check your <REPOSTORY-PATH>/hooks/

Mar 22, 2012

SVN: SSL handshake failed: Secure connection truncated

I experience this error in my fedora 14 with svn version

svn --version
svn, version 1.6.17 (r1128011)
compiled Jun 2 2011, 15:23:50

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme



Here my command

$ svn export https://mycode.googlecode.com/svn/trunk/ mycode --username admin@syntax3rror.co.cc


Response

svn: OPTIONS of 'https://mycode.googlecode.com/svn/trunk': SSL handshake failed: Secure connection truncated (https://mycode.googlecode.com)


From Jan's Blog instructed to install libneon27 However before in install I check /usr/lib/libneon.so.27 and exist to my filesystem so I just issue.

sudo ln -s /usr/lib/libneon.so.27 /usr/lib/libneon-gnutls.so.27


Cheers.. :)