repositories

I have a slight confusion with setting up Mercurial on my webserver...

I'm starting to use Mercurial on my web server (in this case MediaTemple's Grid). I've used SVN previously, though I'm not an expert of version control systems. I'm just needing a little help with clearing up some confusion with getting it set up optimally. I have a 'data' folder which is outside the web server root and that the browser...

Git repos over multiple machines - backups and keeping in sync

I'm new to git so please feel free to RTFM me... I have multiple development sites (none of which can communicate via a network with each other) and am working on a few projects (with a few people) at any one time. What I would ideally have is at each site a centralized repository that can be pulled from but development would occur in ...

Injecting multi-tenant repositories with StructureMap in ASP.NET MVC

I'm implementing StructureMap in a multi-tenant ASP.NET MVC application to inject instances of my tenant repositories that retrieve data based on an ITenantContext interface. The Tenant in question is determined from RouteData in a base controller's OnActionExecuting. How do I tell StructureMap to construct TenantContext(tenantID); wher...

How do I implement repository pattern and unit of work when dealing with multiple data stores?

I have a unique situation where I am building a DDD based system that needs to access both Active Directory and a SQL database as persistence. Initially this wasnt a problem because our design was setup where we had a unit of work that looked like this: public interface IUnitOfWork { void BeginTransaction() void Commit() } and o...

Mercurial: two separate repos somewhat related (yes I'm getting confused)

I have a local repository, let's call it ONE. ONE is the actual program. It's an android program, in case it matters for some reason. I have a remote repository, let's call it EXT. EXT is somewhat a library, used by ONE. ONE has a complex directory structure, mandated by android. The main sources are in src/bla/bla/ONE. Since ONE uses ...

Git: how to work with multiple repositories?

Hi, I have a remote read-only git repository A, which I have cloned in my local filesystem. A is updated periodically, and I pull and merge the updated code in my system after each update. I want to collaborate with my team members on the files of A, for which, I have create a new remote repository B. How do I manage to sync B with my ...

How to sync two or more Mercurial servers?

I want to keep Mercurial servers at four different locations, and want them to be identical at any given time. Meaning, any change to any of them must be propagated to all other servers. How to do that? ...

Configuring Elicpse and SVN for multiple repositories

I'm using Elipse (Galileo) with the Subversive plugin. When I set SVNPath in apache httpd.conf I can get a connection to my repos from Eclipse. This works fine: <Location /repos> DAV svn SVNPath c:/SVN/MyProject AuthType Basic AuthName "Subversion repository" ... </Location> But when I use SVNParentPath it errors: "Lo...

How to serve Mercurial repositories in the browser correctly?

Hello. I'm setting up my freelance server which will be using Mercurial for all the version controlling. Each project will have it's own folder, with it's own repository. Which I can then clone from my home computer, work computer or any other computer by going to that particular folder. I'm wanting to serve these repositories up into ...

How can I push/pull an individual changeset between repositories in Mercurial?

I have the following situation: I have site A, which has it's Mercurial repo, and we've been developing it for a while. Let's say A has had 5 revisions. We now has to create Site B, which is almost identical to site A, except for graphical design, mostly. So I cloned the repo, started site B, and now B's repo has all of A's history, pl...

Encrypting files added to Mercurial repositories on commit

Having read this past question for git, I would like to ask if there exists something like that, but can be done programmatically (file list) on each machine; works for Mercurial. The reason for this is that I would like to include in my public dotfiles repository some configuration files that store password in plaintext. I know I co...

Entity Framework 4 POCO CRUD Repository - How to perform Smart INSERT/UPDATE?

Hi Guys, This could be a simple solution, but.... If i have a Entity Framework 4 Repository which exposes the following interface: void InsertOrUpdate(Foo foo); And my EDM is done with custom POCO's (no code generation), how do i perform UPDATE's to POCO's? I can INSERT a new object by doing this: var newFoo = new Foo { ... }; rep...

Change Git repository download path on Mac

Hi, I often use git from Terminal on Mac to download some repositories and then use it. When I use this command:git clone git://git repository URL repositories are downloaded in my Start folder (name account folder e.g. Matthew, if the name of my Mac account is Matthew). I'd like to change this folder where repositories are downloa...

What is a maven repository url for jung2 (java graph framework) ?

I am looking for a maven repository that distributes jung2 packages. Unfortunetely I can not find any information on its location. Update: I have included the cental repository repo1. <repository> <id>central</id> <name>Maven Repository Switchboard</name> <layout>default</layout> <url>http://repo1.maven.org/maven2&lt;/url&gt;...

Trac component(s) referencing separate GIT repositories

We have a large project that encompass several sub-projects with their separate GIT repositories, which we are all looking to bring into Trac to help better manage the project as a whole. My question; Is it possible to reference their respective (separate) repositories from within Trac's component system? I've done some research into ...

Split large Git repository into many smaller ones

After successfully converting an SVN repository to Git, I now have a very large Git repository that I want to break down into multiple smaller repositories and maintain history. So, can someone help with breaking up a repo that might look like this: MyHugeRepo/ .git/ DIR_A/ DIR_B/ DIR_1/ DIR_2/ Into two repositories th...

Android: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

Volker Voecking had responded to earlier question by Vaibhav, ---If you enter the URL in a browser and then look at the source code of the page you will see that an XML document is returned. The reason why that URL would work in a browser but not in the android manager might be that you are required to specify a proxy server. In Eclips...

Need some advise on starting a New Life with MVC 2 and which Tools to use for RAD in MVC2 ?

Dear All I have finally decided to hop up on the train of MVC 2. Now i have doing alot of reading lately and following is the architecture, which i think will be good enough for most of Business Web Application. Layered Architecture:- Model (layer which communicates with Database). EF4 Repository (Layer which communicates with Model a...