mercurial

Transferring legacy code base from cvs to distributed repository (e.g. git or mercurial). Suggestions needed for initial repository design [closed]

情到浓时终转凉″ 提交于 2019-12-17 04:07:43
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . Introduction and Background We are in the process of changing source control system and we are currently evaluating git and mercurial. The total code base is around 6 million lines of code, so not massive and not really small either. Let me first start off with a very brief

Git and Mercurial - Compare and Contrast

久未见 提交于 2019-12-16 22:21:10
问题 For a while now I've been using subversion for my personal projects. More and more I keep hearing great things about Git and Mercurial, and DVCS in general. I'd like to give the whole DVCS thing a whirl, but I'm not too familiar with either option. What are some of the differences between Mercurial and Git? Note: I'm not trying to find out which one is "best" or even which one I should start with. I'm mainly looking for key areas where they are similar, and where they are different, because I

How do I tell (locally) mercurial that a server is non-publishing?

瘦欲@ 提交于 2019-12-14 03:40:04
问题 How can I tell mercurial that a remote server (on bitbucket for example) is non-publishing when I do not have access to the remote .hg/hgrc file? Background Recent versions of mercurial has a concept of phases that allow one to keep track of which changesets have been shared ( public ) and which ones have not ( draft ). Repository changing operations like rebase are allowed on draft changesets, but not public changesets as others might depend on the latter. Pushing changesets to a public

How to create repository on BitBucket remotely?

我只是一个虾纸丫 提交于 2019-12-14 03:39:55
问题 I want to create a repository from my local machine using hg commands on Bitbucket instead of creating a repo manually on Bitbucket. Is it possible ? Thanks in advance for your response. 回答1: I believe the only way to make a BitBucket repo is on BitBucket, either through their web interface, or their API. This question has details of how to create an empty repo on BitBucket then push local content to it. 回答2: I did the following using the REST API through curl command: $>curl -k -X POST -

How do I know if a branch has already been merged in SVN/Mercurial/Git?

喜你入骨 提交于 2019-12-14 03:39:52
问题 Is there any way of easily deciphering (i.e. at a glance) whether or not a branch has already previously been merged with the another branch or the trunk? The nearest I've been able to figure out is by looking at the commit notes and displaying the merged commit notes. The disadvantage with this seems to be that unless you know which branch the commit notes are imported from, there's no way to decipher which branches have already been merged or not. Edit : Is Mercurial or Git any more

Mercurial vs Subversion. Whose performance is better?

拟墨画扇 提交于 2019-12-14 02:17:11
问题 There are a lot of articles about SVN vs. Hg in general. I would like to concentrate only on performance. Real-live experiences preferred. Here is my set-up: (future setup) Windows with IIS fro Hg (current setup) SVN 1.3.2 on top of apache under windows I would like to have statistics for most commons operations (commits, stats, local/remote pulls, pushes, etc...). I am not really sure what are the most common operations for Hg. Performance is NOT the only thing that matters to us but it is

tortoiseHG suddenly fails with “Unable to remove file xxx permission denied”

一个人想着一个人 提交于 2019-12-14 01:32:25
问题 I have about 50 modified files. I tried to shelve them. About halfway through, tortoiseHG says 'Unable to remove file x/y/z/foo.java, permission denied'. I tried several of the remaining files, and they all seem to have the same issue. I've been using tortoiseHG for a long time on this Windows machine without issues. Any suggestions on how to troubleshoot this? The files are not locked (open by another program). And they're all in the same local directory that I have access to. 回答1: Figured

Are there advantages of using hg convert to merge 2 repos instead of hg pull -f?

我怕爱的太早我们不能终老 提交于 2019-12-14 01:15:57
问题 In the documentation they use a mapfile with these contents: $ echo include subfoo > /tmp/myfilemap $ echo rename subfoo . >> /tmp/myfilemap $ hg convert --filemap /tmp/myfilemap /path/to/repo/foo /tmp/mysubfoo-repo What are the advantages of merging 2 repos like. Is there a valid reason not to do this: hg pull -f other_repo hg merge What are they accomplishing via the rename of subfoo to . ? 回答1: Their example (the subfoo filemap you posted in your question) is for converting a subdirectory

Mercurial - Ways to resolve abort: error: '' after an hg in/pull

若如初见. 提交于 2019-12-13 21:34:46
问题 A perfectly good repository goes pear shaped after an unknown time. A simple hg in fails with an error abort: error: '' Sometimes it just hangs for a few minutes without any output. If I run with --verbose , same output. If I run with --traceback , I get: Traceback (most recent call last): File "mercurial\dispatch.pyo", line 88, in _runcatch File "mercurial\dispatch.pyo", line 740, in _dispatch File "mercurial\dispatch.pyo", line 514, in runcommand File "mercurial\dispatch.pyo", line 830, in

Can Mercurial pull without getting bookmarks?

耗尽温柔 提交于 2019-12-13 19:41:21
问题 Every time I pull from a repository I get not only the changesets but also all the bookmarks from that repository. In some situations this is quite annoying. Is there a way to pull without getting bookmarks? (I'm actually using TortoiseHG, but information about plain Mercurial command line is useful and appreciated as well.) (Background: In TortoiseHG having many bookmarks gets cluttered quickly. That doesn't matter in the remote repository where the bookmarks should remain for future