Subversion + Some other VCS (Git, Hg, etc.) In the same working copy

Here's the deal: I just started a new job, and controlling the source here is mostly useless. All developers (about 10 guys) check their code on the same dev site, and there is no way to test the changes, except that they switch to SVN and then automatically update on the dev site. (Even if you don’t even start talking about headaches when someone breaks something, and you must understand why your things aren’t working right now ....)

Therefore, instead of doing as Ctrl + S and refreshing the browser to see my changes, you should Ctrl + S, svn commit, refresh the page. Of course, since every person has to do this a million times every day, there are never any commit messages, so the svn story is useless.

In any case, since I'm a new guy, for the moment, for my own sanity, I want to use some other version control system in place so that I can execute projects atomically and can easily roll back.

Is it possible, for example, to use mercury as svn? I would use svn mainly to see my changes and mercurial to track my changes.

Any alternative ideas are also welcome. Thanks!

UPDATE -

. , . , . . , , . , svn status, . hg status, , . guys

+3
6

Mercurial Qaru guide, Subversion . : hg convert, hgsubversion hgsvn. . .

( - , hgsubversion , , , . , hgsvn.)

UPDATE:

:

" . , . , . . , svn, -. hg, , ".

, . , . , , . Subversion, .hg- Mercurial . svn ignore .hg* **.svn .hgignore. , , svn update hg pull . , , -, , .

, Mercurial-Subversion. , , hgsubversion do hg status Mercurial hg svn status Subversion. , , , , , , VCS .

+4

git svn - .

git svn clone repository_url
# edit 
git commit
# edit 
git commit
# send all your changes to remote svn
git svn dcommit
+3

git, svn, , .svn scm , .

IDE, , Eclipse . NetBeans IntelliJ. IDE- svn .

, , , , - svn... , ? .

.

+2

hgsubversion extension to mercurial mercurial svn- git svn.

hg clone svn+http://python-nose.googlecode.com/svn nose-hg

/ svn .

+2
0

VCS . git , SVN ( VCS). , .svn,.bzr .git. , . , .

0

Source: https://habr.com/ru/post/1723133/


All Articles