How to pull changes from svn repositories after switching to mercurial

Im working on a patch for an open source project that uses svn. I do not have permission, but I want the version to track my own changes. I read this guide to read and convert svn repos to hg.

I want to pull new changes from official svn links to my local copy, how can this be achieved? After importing, my local folder contained an unused file .hgignore. Should I add one that will be tracked using mercurial?

I also looked at this tool , but it seems to be more focused on working locally in a mercurial connected to svn repos. I want to put my Mercurial repos on bitbucket , and the previous guide seemed to make more sense for this.

It may be early to think, but later, when my contribution is complete, what is the best way to create a patch for sending upstream? Are there any reservations I should be aware of right away?

Edit: orip answer (part of the editing) summarizes exactly what I want to do: local hg copywhich can updatefrom svn, but also pushto my online repositories bitbucket.

+3
source share
4

TortoiseHg wiki SVN - TortoiseHg Subversion, , , Mercurial, .

, , VonC : Mercurial from Subversion: ,

+1

: svn 'svn update', Mercurial repo.

.hgignore mercurial, - .. . , , , .

SVN , do svn diff > myPatch.diff ( svn repo)

+2

MQ. , , VCS :

  • SVN: , .
  • HG: addremove SVN MQ .

, , .

+2
source

The manual you used converts svn to hg, but is intended for one-time conversion, not permanent compatibility.

You want something like hgsubversion .

EDIT: Just noticed that you contacted him in a question. There should be no problems saving the clone of your repository on a bitbucket - interact with SVN with hgsubversion locally and click on the bitbucket, as usual, you have a regular hg repo.

+1
source

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


All Articles