Is it possible to create streamlined workflow using both VCS (preferably SVN) and DVCS (preferably Mercurial or Git)? Following facts describe desired workflow: There is one central VCS server. Main development happens on central server. Anyone outside core development team (let’s name him Joe) could take a snapshot of source code with complete history. Joe […]
I have a dozen Java projects that depend on each other, and I frequently make changes that cross-cut all of them. However, many of the projects are libraries that could be used independently of each other as well. Right now I use mercurial subrepos, which works well except that very few third-party tools support it […]
In CVS, sometimes I do “replace with the latest from head” to abandon local changes to a file as the local changes might be messed up and one would like to start afresh with that file, while keeping any uncommitted local changes made to other files. How to do the equivalent in Mercurial and Git?
Environment: 14 or so engineers/physicists/mathematicians (read: none really interested in spending their time on things like repo maintance and similar things) They will be using it, in terms of software engineering nowadays, for rather small projects, but one can expect that a lot of non-code stuff will also wind up in there (data files, some […]
i currently have several projects using kohana as a framework, and what i have at the moment is a directory structure like this project – application – system – modules the “project” dir is under mercurial source control, and i basically copy and paste modules that i use. and commit them to each project. however […]
How do you manage common library source in a DVCS? Currently, my team uses Perforce to manage our software projects. Using Perforce’s “Workspace Mapping” feature, I am able to easily map common library source into dev application directories in a way that keeps the transformation between source management and dev project work transparent. For example, […]
Say, if the whole team using Git or Mercurial is doing: (example in Mercurial (Hg)): hg pull hg update [edit files or add files, and test] hg add . hg commit -m “good” hg push I don’t see how it is different from using SVN? If the team never push or pull to another member, […]
Currently in my practice I use VERSION file to store: major=2 minor=0 fix=1 which mean that sources for product version v2.0.1 or newer. Before each release I must commit update to this file so tag with name tag2.0.1 or release-2.0.1 cover above content (and not previous version!). I think that it is possible to avoid […]
Is it possible to count the number of Mercurial/Git change sets with a simple command line with arguments?
I like the way git displays its log(like in the man pages format). Is there any way I could customize mercurial to display its log(or glog) in a similar format?