temporaneità
English scratches and Italian notes written by Carlo Perassi
  • Home
  • About
  • Borges
  • Ideas
    • Post Updated NG
    • aggr
    • pungw
    • dilw
    • aggrw
  • Links
  • Library
  • Contact
Browse: Home / Subversion

Subversion

Exporting changed only files with Subversion

By Carlo on 2007-08-30

Reading the referers of this website, I found that someone reached it querying a search engine for subversion or svn export only changed files This one-liner (that can be easily turned into a subversion hook) could do the task for i in `svn log -r HEAD -v | grep “^ [MA]” | awk ‘{print $2}’`; [...]

Posted in English | Tagged AWK, Bash, free software, Subversion | 2 Responses

Updating WordPress with Subversion and sitecopy

By Carlo on 2007-02-21

I don’t know why but the official Installing/Updating WordPress with Subversion page doesn’t mention an easier (and better?) way to do the same task: svn co http://svn.automattic.com/wordpress/tags/2.1.1/ wordpress-2.1.1 # substitute 2.1.1 with the version number you need svn export –force wordpress-2.1.1 wp_blog # wp_blog is a folder with your external and previous WordPress version’s files [...]

Posted in English | Tagged free software, Subversion, WordPress | 8 Responses

Finding file extensions with AWK

By Carlo on 2007-01-30

This one-liner helps in finding the file extensions of a given Subversion working copy: find path_to_repos -type f | grep -v “/.svn/” | awk -F “/” ‘{print $NF}’ | awk -F “.” ‘{if (NF > 1) {print $NF}}’ | sort | uniq Its usage outside of Subversion is even more trivial.

Posted in English | Tagged AWK, Bash, Subversion, trivial hacks | Leave a response

rsync helps exporting Subversion’s working copies

By Carlo on 2007-01-23

This one-liner helps you to keep a mirror of a working copy of a Subversion repository without its .svn directories. It may speed up the test-modify-commit cycle: it acts like an export but it should be faster. The command is: rsync -apogz –delete –exclude=”.svn/” /working_copy/path/ /testing/point/ rsync -Dgloprtz –delete –exclude=”.svn/” /working_copy/path/ /testing/point/ Of course the [...]

Posted in English | Tagged rsync, Subversion, trivial hacks | 1 Response

Joomla Subversion behind a proxy

By Carlo on 2007-01-12

This is a note about how to checkout the Joomla stable (1.0.x) Subversion repository when you are behind a proxy. I know there are many sites explaining how to do that but I was not able to find one of them with an out of the box working solution. This is my recipe. 1) Add [...]

Posted in English | Tagged free software, Joomla, proxy, Subversion | Leave a response

Search

It passes

it passes

My posts, unless otherwise expressly stated, are licensed under a Creative Commons Attribution-Share Alike 2.5 Italy License.

Top posts for 600 days

  1. Top ten Italian songs of all times
  2. Inserting raw HTML code in MediaWiki
  3. jQuery tabs and cookies
  4. Using AWK to remove file extensions
  5. A Dilbert Plugin for DokuWiki
  6. aggr
  7. Huawei E176 and Ubuntu
  8. Bright dawn
  9. Customising wp-comments-post.php
  10. Boosting a Linksys Access Point

Copyright © 2006 - 2010 by Carlo Perassi. Powered by WordPress and Hybrid.