Sponsored Content
Special Forums UNIX and Linux Applications integrating svn (subversion) with vi editor Post 302332798 by otheus on Friday 10th of July 2009 05:22:08 AM
Old 07-10-2009
There are three possibilities: 1. Create a wrapper script around vi. 2. Write autoload scripts and trigger scripts for vim. 3. Use the Linux iNotify feature.

1 is the most basic, but requires that all instances of vi (that users have access to) are moved to a special folder and replaced with soft-links to their new locations. It will still be (almost) impossible to prevent users from using the real editor, so you might be prepared for that.

2 requires everyone use and work with vim, which might be okay for you. The vim scripting language is powerful and you can benefit from complete control of the vim editor.

3 demands you use Linux or another OS with something like "inotify" which is a kernel feature. Processes can essentially tell the kernel "notify me if a file changes", and that process can for instance, so the svn commit. However, I don't know if you can control the aspect of user's login to svn.
 

10 More Discussions You Might Find Interesting

1. Programming

about wave file integrating.

Now I have two wave file(*.wav) at Tru64 Unix machine. I want to make a new wave file including the two wave file. how I should finish this programmer. If you know, can you give me the format of the wave file(*.wav) and Sun au file(*.au). Thank you. (1 Reply)
Discussion started by: livic
1 Replies

2. Red Hat

SVN subversion performance issue.

Hello to everyone, I am having svn performace issue. Whenever i am doing svn checkout it's slower on one machine than other Xen machine. I will try to explain what is goin on here. I have 3 machine and all three running linux (Centos 5) Machine A is running Svn server. Machine B... (6 Replies)
Discussion started by: email-lalit
6 Replies

3. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

4. UNIX for Advanced & Expert Users

Problem with Subversion SVN

Hi, I am trtying to install SVN server with Apache. I have already configured apache with SVN modulesh and the same can be seen in the modules directory. -rwxr-xr-x 1 root root 34740 Jul 3 13:43 mod_authz_svn.so -rwxr-xr-x 1 root root 385133 Jul 3 13:43 mod_dav_svn.so now the... (1 Reply)
Discussion started by: Siddheshk
1 Replies

5. UNIX for Dummies Questions & Answers

Integrating bash with sql.

Hi Guys, I m just curious to know whether it is possible to store the output of a shell command to a database . My main aim is to use a full capacity of sql language to analyze the output generated by shell script. for example. by storing the 5 instances of of top at different interval we... (6 Replies)
Discussion started by: pinga123
6 Replies

6. UNIX for Advanced & Expert Users

SVN Subversion Mac Questions

Hello all, I am the owner of a company that just lost it's programmer. Because I am not a programmer, I am trying to see if I can get some assistance setting up the following: Hey - couple questions On the SERVER SVN is kept. Is is maintained under the user USERSERVER The problem is... (0 Replies)
Discussion started by: yoyoyo777
0 Replies

7. Programming

Integrating Jconsole with Eclipse

Hi Guys, I was hoping someone has integrated Eclipse with jconsole to monitor their applications. I have not seen this in action . Any help is much appreciated http://images.devshed.com/fds/smilies/smile.gif Thanks (0 Replies)
Discussion started by: aish11
0 Replies

8. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

9. SuSE

SVN(subversion) installation on SLES 11

I had installed svn on SLES 11 using comands: zypper addrepo http://download.opensuse.org/repositories/devel:tools:scm:svn/SLE_11/devel:tools:scm:svn.repo zypper refresh zypper install subversion But when I run svn it gives me error as: linux-uw85:~/Desktop # svn help svn: error while... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

10. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
SVN-UPGRADE(1)							 Command reference						    SVN-UPGRADE(1)

NAME
svn-upgrade - upgrade source package from a new upstream revision SYNOPSIS
svn-upgrade newsource [options] DESCRIPTION
svn-upgrade modifies a Debian package source located in a Subversion repository, upgrading it to a new upstream release. The repository filesystem tree must be in the format created by svn-inject. OPTIONS
svn-upgrade accepts the following options on the command-line: -V STRING | --version STRING Forces a different upstream version string Default: Off. -c | --clean Runs make clean and removes the debian/ directory in the new source. Default: Off. -P STRING | --packagename STRING Forces a different package name Default: Off. -v | --verbose More verbose program output Default: Off. -r | --replay-conflicting Extra cleanup run: replaces all conflicting files with upstream versions. Review of svn status output before doing that could make sense. Default: Off. -N | --noautodch Upgrade without making a new changelog entry. Default: Make the changelog entry. -u | --uscan Use uscan to download the new version. --noninteractive Turn off interactive mode. --ignoreerrors In noninteractive mode, ignore errors. --ignored-files-action STRING Make files that are ignored due to subversion ignore patterns to be 'import'ed or 'skip'ed. -e | --auto-epoch Automatically increase version epoch if the new upstream version is not greater than the current. --debclean Run debclean before merging the new upstream source. Tarballs must be compressed with gzip or bzip2. SEE ALSO
/usr/share/doc/svn-buildpackage/() The svn-buildpackage HOWTO manual svn(1) Subversion command line client tool svn-buildpackage(1) build Debian packages from SVN repository AUTHORS
Eduard Bloch This manual page was written by Eduard Bloch in roff. Goneri Le Bouder Converted manpages to SGML. Neil Williams Converted manpages to DocBook XML and current Debian maintainer COPYRIGHT
Copyright (C) 2009 Eduard Bloch Release: 0.8.2 May 2009 SVN-UPGRADE(1)
All times are GMT -4. The time now is 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy