Find the answer to your Linux question:
Results 1 to 3 of 3
hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    1

    Question integrating svn (subversion) with vi editor


    hi,

    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
    Just Joined!
    Join Date
    Dec 2009
    Posts
    3
    you could use vi to edit the files.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    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
    $spacer_close

Posting Permissions

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