mercurial

How can I monitor a specific file for changes in Mercurial?

送分小仙女□ 提交于 2019-12-11 06:29:07
问题 I have set up a remote Mercurial (Hg) repository that holds a large Java project. I would like to monitor any changes done to the project's pom file and receive e-mails when changes were made to the pom. I would like to exclude all other file changes from notifications as I am only interested in monitoring any possible changes in dependencies (hence the POM). Is there any Mercurial Extension or workaround using Jenkins to subscribe to the change history for one individual file inside a

BitBucket: how to track a repo's branches in its Wiki repo?

♀尐吖头ヾ 提交于 2019-12-11 06:27:24
问题 I have a (Mercurial) repo on BitBucket where I have a documentation directory to keep some simple markdown files project .hg .hgignore src many files doc Home.md This setup allows me to develop my documentation in sync with my code. I can write a small page documentating a new feature on a feature branch, and then merge both the source and the documentation into the master branch with a single commit. However, the BitBucket wiki is a separate repository by itself (and I believe it's the same

Delete multiple heads

淺唱寂寞╮ 提交于 2019-12-11 06:18:49
问题 C:\Users\Itu\workspace\Compiler>hg branches default 13:aa6af82c5458 C:\Users\Itu\workspace\Compiler>hg heads changeset: 13:aa6af82c5458 tag: tip user: Itun date: Sun Sep 18 22:27:06 2011 +0400 summary: Update 1.0.0.2 changeset: 9:d36e5ac454b1 parent: -1:000000000000 user: Itu date: Sun Sep 18 06:50:25 2011 +0400 summary: New PR changeset: 8:758cd394d82a user: Itun date: Sun Sep 18 06:48:17 2011 +0400 summary: asdasd changeset: 4:c4c981b4ff43 user: Itun date: Sun Sep 18 03:31:58 2011 +0400

How to update to a branch by name when there's a hash collision?

為{幸葍}努か 提交于 2019-12-11 06:08:15
问题 So my coworker just won the hash lottery. We create a feature branch for every ticket we resolve, following the convention b##### where ##### is the issue number. The trouble is that when he tried updating to that branch (before it existed) via hg up branch(b29477) , it took him to default instead of saying that the branch doesn't exist. It turns out that branch(b29477) actually returns the name of branch of the thing inside the parens (instead of forcing Mercurial to evaluate the thing

How does code hosting work with a staging environment

☆樱花仙子☆ 提交于 2019-12-11 05:36:28
问题 Up until now, we've all been hosting our mercurial repositories and pulling directly from each other with hg serve. After code is reviewed, QA pushes it to our webdev server, which functions as the staging environment. The (php web) application is tested once again there before it goes to production. Hg serve is not always reliable (like when the server you want to pull from isnt running!), so we are thinking to switch to code hosting (ie BitBucket). So, we would all have our own accounts

xxx does not appear to be an hg repository after push finishes

回眸只為那壹抹淺笑 提交于 2019-12-11 05:16:02
问题 Just several days ago, when I push to a hg repository, something like 'xxx does not appear to be an hg repository' appears after push finishes. The output looks like this: pushing to http://xxx/scm/hg/jewelry searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 1 changes to 1 files abort: 'http://xxx/scm/hg/jewelry' does not appear to be an hg repository: ---%<--- (no content-type) ---%<--- ! The push is actually

Some help with merging legacy branch in Mercurial

别说谁变了你拦得住时间么 提交于 2019-12-11 05:08:55
问题 We're currently working on the new version (version 2.0) of an application. We have a customer running version 1.0 of the app who found a bug. We updated to the tagged changeset for version 1.0 and located and fixed the bug. We committed the change which created a new head in our source tree. The question is how best to merge this? Ideally I would want to merge it into the changeset that followed version 1.0. I don't want to merge it into the tip because the code where the bug was found doesn

Doing a 'diff/st' and ignoring the first line if it matches a specific criterion

a 夏天 提交于 2019-12-11 04:57:09
问题 In a repository for a well known open source project, all files contain a version string with a timestamp as their first line: <?php // $Id: index.php,v 1.201.2.10 2009-04-25 21:18:24 stronk7 Exp $ Even if I don't really understand why they do this - since the files are already under version control -, I have to live with this. The main problem is that if I try to 'st' or 'diff' a release to get an idea of what was changed from the previous one, every single file contained in the repository

couldn't find mercurial libraries : Windows 2000

北战南征 提交于 2019-12-11 04:56:13
问题 I think I have studied all the duplicates. I have built Mercurial 2.0.2 and I am using Python27. When I run hg , I get this error: abort: couldn't find mercurial libraries in [f:\python27\Lib\site-packages f:python27\Scripts C:\WINNT\System32\python27.zip f:\python27\DLLs f:\python27\lib f:\python27\lib\plat-win f:\python27\lib\lib-tk f:\python27 f:\python27\lib\site-packages] Directory of F:\Python27\Lib\site-packages: 08/03/2011 09:39 121 README.txt 18/01/2012 20:24 <DIR> mercurial 18/01

Ignore 'styles.scss.cache' file for version control in a Vaadin 8.1 project?

ぃ、小莉子 提交于 2019-12-11 04:48:07
问题 After doing the first Maven install on my new Vaadin 8.1 project created from the vaadin-archetype-widget Maven archetype, and first running my app, I noticed a single new file appeared: myproject-demo/src/main/webapp/VAADIN/themes/demo/styles.scss.cache ➠ Does it make sense to include or ignore this file from my version control? By ignore , I mean add that filename to my list of file/folders to big ignored by my version control system. ( .hgignore file) If I intend to share this project as