UppercuT and Mercurial (hg)

I mentioned this awhile back on twitter, but UppercuT (UC) has support for Mercurial for versioning your assemblies.

In the settings file, all you need to do it tell UC to use hg.

hg goes in source_control_type

When you build your assemblies, they will use the changeset number in the version, and in the informational version, you get the hash, just like you do when using Git.

Sweet mother Mary, look what we have here!

Pretty sweet. By the way, UC also supports .NET 4.0 as of last week. With this knowledge you shall build.

Posted 04-21-2010 11:33 PM by Rob Reynolds
Filed under: , , ,



Arnis L. wrote re: UppercuT and Mercurial (hg)
on 04-27-2010 3:30 AM

Last time I played with UppercuT, I couldn't manage to successfully place it outside of solution folder.

Tried to integrate it with Hudson. If Hudson updated newest changes from Mercurial, it deleted contents of workspace (including uppercut related stuff). This is unacceptable in case I don't want to put uppercut in my hg repository but use only for CI.

Any tips?

Rob Reynolds wrote re: UppercuT and Mercurial (hg)
on 04-27-2010 9:54 AM

Arnis: I'm not completely sure why you would not want to include uppercut related stuff in your repository. Its much like anything else your project depends on should be in the repository (all your references should be local). The idea is known as a hermetic build - everything you need is all together so the build is reproducible.

The term "hermetic build" was coined (I believe) by Jeff Brown (see blog.bits-in-motion.com/.../setting-up-distributed-build-part-1.html).

So I'm curious, what is the motivation for keeping it out of the repository?

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)