repository

Correct command to retrieve remote mercurial updates pushed from my second machine

I'm new to Mercurial. I initialized a Mercurial project on Machine A, committed my changes and uploaded them to a remote repository. Then I cloned that repository on Machine B, committed some additional changes and uploaded them to the same remote repository. In both cases, I uploaded the changes with the same command: hg push https...

Best tool to build a documentation repository

I'm sharing documentation with people not programming oriented. We agree we need a documentation repository but they don't like TortoiseSVN as it lacks some features that they consider key issues: Lock of files in such a way that everybody knows is blocked (more like VSS) To see files that are being changed by other people, even though...

Repository Pattern and Linq to sql

I 'm trying to implement user authentication and authorization using roles table, user table and a xref table having userid, roleid. For implementing generic repoistory to update role, insert role, add user, add user to role, update user, update user role, authenticate user, add user session to audit etc do i have write seperate functi...

Maven repository location woes

I'm reconfiguring a build server that someone else setup a long time ago to use a new Maven repository. However, the old repository is still being referenced and I can't figure out where that reference is coming from. M2_HOME=/usr/share/maven2 /etc/maven2/m2.conf (usr/share/maven2/conf/m2.conf links here) main is org.apache.maven.cli...

How do I access a second repository on a server created using tortoise SVN

We have a machine on our lan and we check out of using tortoise subversion using svn://serverName/ e.g: svn://repoMachine/MainProject/trunk I have created another repository on the repoMachine in a foder D:\TestDataRepository using tortoise command . My question is how to I browse to this repository from another machine? When I type s...

Is there a good online library of different video formats to use to test my FFMPEG installation?

I want to check that users will be able to encode the main video formats using FFMPEG running on a server. So far most of the videos I have tried have worked but want to find out where things may fall down. Is there a good list and hopefully attached files to download showing the main video formats for video that users will find online a...

Pushing to remote repository after merge "creates new remote heads" - is that bad?

I initialized a Mercurial project on Machine A, committed my changes and uploaded them to a remote repository. Then I cloned that repository on Machine B, committed some additional changes and uploaded them to the same remote repository. In both cases, I uploaded the changes with the same command: hg push https://username:password@do...

How to recover repository using SVN hotcopy?

Okay. I used svn's hotcopy to make incremental back-ups, now how do I test that the hotcopies will work properly? I searched the posts here regarding hotcopy. Most of them seem to just be encouraging the use of the svn hotcopy, but not talking about how to recover using hotcopy once made. Is there any advice about how to recover us...

how to determine which files has been changed from those in rcs

I am working with a c++ codebase using rcs repository (agh, old I know), during major code changes, I modify a lot of files, which I sometimes lose track of. So I would like to have a small script which will list the files that are different (those that I changed) from files in the repository. It is sort of unrealistic to do rcsdiff on...

Domain Driven Design - Repositories and aggregate roots

I have a domain model that contains a forum. I have forum, thread and post entities. The forum is a standalone entity. Ie it does not contain thread as part of an aggregate. This is because threads are not owned by a particular forum (you can move a thread to a different forum). I don't know if I should model posts as part of a threa...

How do you use one Ubuntu box as a package repository for another box?

Hi there, Our dev environment has 6 Ubuntu machines, and it'd be nice if we could download the latest version of Ubuntu with one, and then use our local LAN to distribute the new packages between the other computers. This would save us loads of time in downloading the new packages (our connection is REALLY slow). Anyone know how to do t...

ebXml OpenSource java implementation

Hi Stack! In our project we are looking for an OpenSource java implementation of the OASIS ebXml Registry 3.0 Specification (spec). It seems there is not a lot of OpenSource initiative for this standard, actually we only found freebXml Registry which is self-named Reference implementation of the specification. The last release (3.1) i...

SVN: Moving repository trunk to another's branch (with history)

I'm working with an SVN setup with a lot of repositories. I'm trying to consolidate some by moving the trunk of one into the branch of another (the old ones are themed versions of the new one, minus some code fixes I'll be applying later, so it makes sense to me). Short version, I want to go from RepositoryA/trunk to RepositoryB/branches...

Multiple DataContext/EntitiesObject

I've implemented a repository pattern in my application and in some of my controllers I use a variety of different repositories. (No IoC implemented) UsersRepository Users; OtherRepository Other; Other1Repository Other1; public HomeController() { this.Users = new UsersRepository(); this.Other = new OtherRepository(); ...

How to remove an accidentally put large file (4GB) from Subversion repository ?

Well this file was put in the repo by mistake and was deleted and added to ignore list. However, because it once existed, my repo is now > 4GB in size and some SVN functions take years to complete. I would appreciate any help and tips. (I'm on XP if it matters) ...

Website revision control system

I'm looking for the ability to use a revision control system for websites, but ALSO have the revisions go live immediately. Example: A developer submits to the repository, those changes are live immediately pulled from the repository. Any suggestions on available software? ...

Mercurial: I get an error while cloning a remote repository via ssh

I'm having difficulty figuring out how to clone my Mercurial repository from my local machine to the server. I actually found an answer to my question here (As the second part of #4.5 in http://mercurial.selenic.com/wiki/FAQ), but I don't know what to do with the answer. On the other hand, if the error message is remote: bash: line...

DDD Repositories pattern with NHibernate

Hi Im confused. This is a blog entry of Ayende Rahien Repository is the new singleton. I believe that a repository should only do CRUD operations and not addtional queries otherwise youll end up with methods like these on your repository. FindCustomer(id) FindCustomerWithAddresses(id) FindCustomerWith.. So my question is, where(in ...

How many levels of abstraction do I need in the data persistence layer?

I'm writing an application using DDD techniques. This is my first attempt at a DDD project. It is also my first greenfield project and I am the sole developer. I've fleshed out the domain model and User interface. Now I'm starting on the persistence layer. I start with a unit test, as usual. [Test] public void ShouldAddEmployerToCollect...

Visual Studios Prompts for Vault Repository at Solution Load

Whenever I load a specific solution under source control (Vault), Visual Studios (2008) prompts me to choose the repository. This takes the form of Vault's Choose Repository prompt. I have a default repository selected in the Vault GUI but whenever I load a specific solution, it prompts me for the repository. Any ideas? ...