mercurial

SCM choice for a new user? [closed]

强颜欢笑 提交于 2019-12-17 19:43:38
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Real easy one here guys. Best justification gets the win. I'm a computer science student at a school you've heard of, and have been

How to set a Mercurial VCS build trigger for TeamCity that ignores label operations

感情迁移 提交于 2019-12-17 18:24:40
问题 I am trying to setup a build trigger for TeamCity using Mercurial as the VCS. Right now the trigger looks like: +:/** This trigger get fired when changesets are committed. However, I have TeamCity setup to tag each build in the VCS. The tagging process is firing the above build trigger so the build gets caught in a loop. Can anyone suggest a VCS build trigger that will filter out the tagging process? 回答1: Adding the trigger pattern: -:/.hgtags filters out the .hgtags file from the build

Is there any distributed revision control system that supports partial checkout/clone?

*爱你&永不变心* 提交于 2019-12-17 18:19:48
问题 As far as I know all distributed revision control systems require you to clone the whole repository. For this reason is it not wise to put huge amounts of content into one single repository (thanks for this answer). I know that this a not a bug but a feature, but I wonder whether this is a requirement for all distributed revision control systems. In distributed rcs the history of a file (or a chunk of content) is a directed acyclic graph, so why can't you just clone this single DAG instead of

How to merge to get rid of head with Mercurial command line, like I can do with TortoiseHg?

試著忘記壹切 提交于 2019-12-17 17:48:09
问题 My question is this: If I have two heads (branches with changes) in my Mercurial repository, and I'd like to get rid of one of them, but discard all the changes from that branch instead of merging them into the other, and I can't strip out those changesets so I have to merge, how can I do that with the command line client? If I have two heads in my Mercurial repository, and use TortoiseHg as my client, the repository might look like this: Then I can get rid of the test2 head by doing a merge

Team Foundation Server branching characteristics, compared to others

独自空忆成欢 提交于 2019-12-17 16:28:48
问题 What are the branching characteristics of TFS? Early Branching/Heavy Branching If we look at the tools Perforce, Subversion, CVS, for instance, we see that branching is taking a copy of the trunk. It is "early branching" all of the files which are defined to be branched, irrespective of whether those files are changed in that branch. This methodology starts creating new versions of files, at the time the decision to create a branch is made, for the entire tree of files. One of the biggest

Migrating from clearcase to mercurial

给你一囗甜甜゛ 提交于 2019-12-17 16:28:24
问题 What tools are available to migrate from clearcase to mercurial? Is it possible to move history? What kind of limitations are there? 回答1: Do not forget that ClearCase ( Central VCS) and Mercurial ( Distributed VCS) are very different. See Core ClearCase concepts for a full list. In the case of a migration, that means you are dealing with a repository-centric VCS (Mercurial) which implies "working with timelines" (a timeline being a commit, building a new changeset) In ClearCase though, there

Why does Mercurial think my SQL files are binary?

佐手、 提交于 2019-12-17 16:26:41
问题 I just scripted out my SQL Server stored procs, table definitions, etc using SQL Server Management Studio, and tried to add them to my Mercurial source control repository. They got added just fine, but now when I change and diff them, Mercurial calls them "binary files" and doesn't give me a proper unified diff. I thought the encoding might be a problem, so I tried regenerating the scripts and specifying ANSI for the text file output, but I get the same behavior. I can view them just fine in

Adapting svn:externals usage for move to Mercurial

人走茶凉 提交于 2019-12-17 16:23:07
问题 We've got in a corporate environment an svn repository structure which looks like this: root libs shared_lib1 shared_lib2 private_lib public_code private_code where public_code is an external repository which is open source and where people from outside the company have read-write-access. shared_lib1 and shared_lib2 are also external repositories shared with a different group of programmers from an other company. I'm the maintainer and can do basically whatever is technically best, the

Changing Mercurial “Default” Parent URL

血红的双手。 提交于 2019-12-17 15:11:28
问题 Let's say I have a Mercurial repository and I'm pulling from a default parent URL (the source I cloned it from). Now I want to change the default parent URL (hostname change, or it was copied to another machine, etc.). Is there a way to do this, or do I have to re-clone from the new URL? 回答1: You can even add multiple entries in the [paths] section of your .hg/hgrc file. [paths] default = /repo_store/hg/project1 sandbox = /repo_store/hg/project1_experimental And then can specify its alias in

Is it possible to browse the source of OpenJDK online?

瘦欲@ 提交于 2019-12-17 15:09:12
问题 Is it possible to browse the source code of OpenJDK online, just like I can do with SourceForge's projects? I never used Mercury before, so I felt confused. (Note: I don't want to download the source. I just want to browse it online, to see how some methods are implemented.) 回答1: Use http://hg.openjdk.java.net/ as duncan suggested. The Mercurial interface there is quite confusing if you are not used to it, and since this is a large project, it can be hard to find what you are looking for.