comparison .zsh/50.vcs_functions.zsh @ 13:c22ca1514f3b

Add an alias to ease working with mq repos.
author Augie Fackler <durin42@gmail.com>
date Wed, 03 Dec 2008 22:55:45 -0600
parents b4bfce76123f
children 0de17fe9c428
comparison
equal deleted inserted replaced
12:d4d720c4c416 13:c22ca1514f3b
1 ## vcs_functions 1 ## vcs_functions
2 # This file contains a handful of functions that relate to using some version 2 # This file contains a handful of functions that relate to using some version
3 # control tool or other. 3 # control tool or other.
4
5 alias mq='hg -R .hg/patches'
4 6
5 # Function to grab the url of an svn wc 7 # Function to grab the url of an svn wc
6 function svnurlof() { 8 function svnurlof() {
7 local url 9 local url
8 url=`svn info $1 2> /dev/null | grep '^URL: ' | sed 's/URL: //'` 10 url=`svn info $1 2> /dev/null | grep '^URL: ' | sed 's/URL: //'`