mercurial

“abort: The system cannot find the file specified” in Mercurial

十年热恋 提交于 2020-01-05 10:20:10
问题 I have a large (~700MB) Mercurial repository. I can clone the repo fine without updating (and also it's totally browsable on Bitbucket, where it's hosted) but I can't update the working directory to the latest changeset because I get the following error: ... lot of getting [path] lines here getting path/to/some/file.ext abort: The system cannot find the file specified [command returned code 255 Wed Jun 24 00:51:37 2015] The last file before the error actually exists in the repo (it's visible

On Windows, can we put different folders in 1 Git or Mercurial (hg) repository?

∥☆過路亽.° 提交于 2020-01-05 09:21:17
问题 On Windows, can we put different folders in 1 Git or Mercurial (hg) repository? Such as putting c:\ror c:\software projects\ruby c:\js test d:\peter_website all in 1 Git or Mercurial repository called code ? 回答1: No, this is not directly possible. What you could do is making seperate repositories for each dir and then combine them as submodules in another repository. I would advise to keep a repository about one project only. If these three dirs are for the same project, you might considering

Configure hudson to build multiple branches

爷,独闯天下 提交于 2020-01-05 04:24:12
问题 I use an ant file to build a java project in mercurial through hudson. The mailnine has a hudson job running just fine. Recently a new branch was created and pushed to the server by commnd line: hg branch newbranch hg commit hg push -f The mainine does not contain these changes and still builds fine. I have set up a new job with the same setting as mainline (in fact copied mainline job in hudson), and specified the newbranch. However, the newbranch job builds code identical to mainline. If I

Development workflow for small team

倖福魔咒の 提交于 2020-01-05 04:11:31
问题 So, I'm working in a small event/entertainment company and have recently taken over responsibility for the development team (PHP applications, most of the time). The current workflow looks kind of like this: For every project there is a development and a production server. There are no local development environments , meaning every developer has got SSH access and does the changes directly on the dev server. There is no source control or whatsoever. Most of the time, each member of the team

“factorizing” a mercurial repository on kiln

允我心安 提交于 2020-01-05 03:57:16
问题 Summarized questions: What is the simplest (and best) way to shift a group of files from an existing repository to a new sub repository, so those files can be integrated with other parent repositories, some of which may not yet exist? Do files in subrepositories need to be in discrete folders, or can they exist alongside other files? Detailed Questions: I have begun the process of creating multiple repositories representing several projects that have shared components, and that is going well,

Is there a way to get a mercurial shelf back after a merge mistake?

时光总嘲笑我的痴心妄想 提交于 2020-01-05 02:32:07
问题 When I unshelve, it uses mercurial's merge capability, but I'm not seeing any way to get back the original shelved patch and redo things if I've completed the merge with an error. Aside from searching backup drives, is there any way to do that? (either to undo the unshelve action and put the shelf back, or to see what was in the patch file) 回答1: I found it — by looking around in the .hg directory. Simply find the directory .hg/shelve-backup/ . The original patch is written there. I now see

Difference between a changeset and a patch?

半世苍凉 提交于 2020-01-05 02:29:07
问题 What is the difference a changeset and a patch? I was using hg today and I noticed the import command mentions that it is used to "import an ordered set of patches." What is a patch? 回答1: Changeset typically refers to the internal representation. Thus, hg unbundle , which processes mercurial-specific files, "applies one or more changegroup files." A changegroup is simply a group of changesets. Patches are plain text in standard formats (e.g. produced by diff). Note that the patch command can

Code Repository best practices [closed]

妖精的绣舞 提交于 2020-01-04 14:04:03
问题 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 . I work at a company that does a good deal of custom development for a wide variety of clients. Some projects are unique, but many of

Automatic conversion of specific binary files to text to compare (diff) in Mercurial

白昼怎懂夜的黑 提交于 2020-01-04 13:49:31
问题 I have several -small- binary files added in my Mercurial repository. The files are the "source" files of one of my development tools (report / form / class definitions). I made a program that dumps this binary files to a text file to allow easy diffs between them. Is there any way to tell Mercurial that certain file extensions need to run this conversion before running the diff program? Or I have to set my conversion program as the main diff tool and run the conversion -or not- and then run

Automatic conversion of specific binary files to text to compare (diff) in Mercurial

不想你离开。 提交于 2020-01-04 13:47:05
问题 I have several -small- binary files added in my Mercurial repository. The files are the "source" files of one of my development tools (report / form / class definitions). I made a program that dumps this binary files to a text file to allow easy diffs between them. Is there any way to tell Mercurial that certain file extensions need to run this conversion before running the diff program? Or I have to set my conversion program as the main diff tool and run the conversion -or not- and then run