Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question integrating svn (subversion) with vi editor


    I have installed subversion in my debian system.and is working properly with authentication.

    many users use vi as default editor for editing files.

    my question is simple.

    can we integrate svn with vi ,so that if anyone edits the file and make any changes to that & as soon as he exits vi , that file has to get comited automatically (with svn authentication). and if authentication fails. the file should not change..

    is there any way we can do this..?

    any suggestion would help..

  2. #2
    you could use vi to edit the files.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    VI is simply an editor. It would be possible if you substitute a script for VI and that can check in any changes to the edited file if desired. It could even ask the user to confirm the checkin if desired.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts