Results 1 to 4 of 4

Thread: git and svn on same server?

  1. #1
    Join Date
    Jul 2008
    Location
    Seattle WA
    Beans
    106
    Distro
    Ubuntu 10.04 Lucid Lynx

    git and svn on same server?

    Howdy.

    Just wondering what the ramifications of git and subversion being on the same server with svn being there first (i.e. many svn commits being made before my first git init).

    Will commits made in svn trigger git to record those changes as well?

    Say if a svn commit was made even though no changes to any file was actually commited? Will that svn commit make any changes to the file system that git will recognize as being different from its last commit?

    (kind of thinking out loud here so forgive me if this seems relatively obvious........)

    I'm not exactly sure how svn tracks its changes.....

    Anyone had any experience with this?

    Thanks.

  2. #2
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: git and svn on same server?

    GIT and Subversion are completely different programs, which keep their repositories in different locations. There is no unified place and format where a repository is stored, where you just pick your favour RCS to interface with them.

    So no, commiting to a GIT repository will not effect a Subversion repository and vice versa, since they are 100% separate. There are tools and methods around that let you sync them up, though.

  3. #3
    Join Date
    Jul 2008
    Location
    Seattle WA
    Beans
    106
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: git and svn on same server?

    Many thanks, Alex.

    Salut!

  4. #4
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: git and svn on same server?

    If you have the option, dump SVN! You can easily convert SVN repos to Git repos by installing and utilizing the package 'svn-git' (available thru apt-get).

    Mmm, nevermind.. you're running the repos themselves on the same server, not the clients.

Tags for this Thread

Bookmarks

Posting Permissions

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