repository

Artificially inreasing the revision number in a SVN (FSFS) repository

My company is performing a SVN repository migration and I would like to avoid overlapping of revision numbers between the two repositories (which are both active at the time being). My requirement is to force the revision of the new repository to a specific revision number (say: 100.000). By analyzing the FSFS repository I have come ac...

Should individual git repositories be created for sub directories on a web site, or is it possible to branch them individually?

I've got a web site that contains a set of effectively independent tools with each tool having its own directory. For example: /webroot /webroot/tool-1 /webroot/tool-2 /webroot/tool-3 Development for each tool takes place individually, so being able to create different branches at different times for each is imperative. I'm looking a...

SVN: set all files marked with "!" to "D"?

Hi, long story short, a mistake was made and now I have at least one hundred files throughout dozens of folders that need to be removed from my repository. Right now they're all marked as "!" in svn status and I'd like to remove them without manually typing in svn remove blahblah. Is there a quick way to do this? ...

Revision control and hosting comparison

I know that this question has been asked many times before in different guises and that I'm an ignorant n00b for thinking that I could add anything to the discussion. However, I'm interested not only in the version control system but also in its hosting options, compatible applications, and Windows compatibility. If you don't have expe...

Keeping my repository generic using createquery

For my repository using the entity framework i'm using the following method to return a IList. public virtual IList<TEntity> ToList(Func<TEntity, bool> expression) { return Context.CreateQuery<TEntity>("[" + EntitySetName + "]") .Where<TEntity>(expression).ToList(); } The expression pa...

cvs2svn include single branch and head ?

Hi, I'm using cvs2svn to convert my repository. I've done it with success in one repository, and now my new problem is a second repository. In my new conversion, I want to convert only the HEAD and one branch. cvs2svn only have "exclude" function for branches, but not "include". I have many many branches and excluding each and every on...

How do I merge an existing git repository into an empty one and preserve the history?

I have a project that I've been working on called "system" that I set up as a repo. I've been pulling and pushing to the project (system.git). Now I want to publish it to a site like github. What is the best way to take my current project and push it into the new github project without losing my history? Thanks! ...

SVN Feature Branch Method

I am getting a SVN server setup and will be using the feature branch method. I plan on having 1+ branches making up a release tag. How do I merge (?) multiple branches into the release tag, while still maintaining diffs and such? I've given an example of our workflow below. Multiple devs pull to local Create feature branch Commit to bra...

In a Domain object how do I get a filtered set of related child entities without accessing repository?

Hi there, I'm using NHibernate, and have a one to may mapping set up. Let's call it Customer -> Orders This all works, and I can get all the orders for the customer. Now, I'd like to filter these orders, let's say I just want orders between run time determined dates. public class Customer { ... // mapped from NHibernate mappi...

StructureMap Open Generics and CacheBy Singleton

I have a number of repositories that inherit from a base class Repository. Currently I am registering in-memory implmentations with Structure map like this (and it's working great): ForRequestedType<Repository<Timeslot>>() .TheDefaultIsConcreteType<InMemoryRepository<Timeslot>>() .AsSingletons(); ForRequestedType<Repository<Ap...

How to recover an accidentally deleted folder in a svn repository.

I know how to revert to a specific revision of a folder using these instructions: http://aralbalkan.com/1381 However, I deleted the entire folder and want to get that folder back without reverting the rest of the repository. I tried recreating the folder and then merging the changes back, but svn knows my trick and realizes it is a ne...

Is Source Code of Google Code Open Source

We in our company are looking to setup a code repository to which multiple groups can contribute. I am looking for a system like Google Code with following features: i. Wiki ii. Issue Tracker iii. Source Repository (SVN integration) iv. Control the access to make modifications to the code The closest open source alternative I could ...

Repository Pattern Best Practice

So I'm implementing the repository pattern in an application and came across two "issues" in my understanding of the pattern: Querying - I've read responses that IQueryable should not be used when using repositories. However, it's obvious that you'd want to so that you are not returning a complete List of objects each time you call a m...

How can I get Maven to stop attempting to check for updates for artifacts from a certain group from maven-central-repo?

I'm working on a fairly big Maven project. We have probably around 70 or so individual artifacts, which are roughly split into two libraries of shared code and maybe ten applications which use them. All of these items live in the namespace com.mycompany.*. Most of the time we're running against snapshot builds. So to do a full build ...

How to properly perform an SVN relocate on Zend for Eclipse

Hi all, I've been using Zend Studio for Eclipse for about a year, and our SVN repository has gone through a number of different relocations (IP changes, etc.), but I'm never able to correctly move the repository on Zend Studio. What is the standard procedure that you usually follow for such an event? I assumed I could just go to the ...

Best practices when limiting changes to specific fields with LINQ2SQL

I was reading Steven Sanderson's book Pro ASP.NET MVC Framework and he suggests using a repository pattern: public interface IProductsRepository { IQueryable<Product> Products { get; } void SaveProduct(Product product); } He accesses the products repository directly from his Controllers, but since I will have both a web page a...

Help with generic repository for linqtosql classes

I am trying to write a generic repository that will perform basic methods on all my linq2sql classes. (getById, insert, delete, getAll) Im not so sure on how to get this done. Heres what I got so far... the getById method is giving me an error cause it cant relate Id attribute to 'T' class. I would appreciate some pointers on how to wr...

Maven - Archiva - Setting up Archiva for different geographic locations

We have developers working in different geographic locations and we want to set up Archiva for each of those geographic locations (just to make sure that the round trip in getting the artifacts is less). Is it possible that whenever an artifact is uploaded/deleted from Archiva at location G1 then the same change gets pushed to Archiva ...

Performance of this structure?

Hi everyone, I want to take your opinion about the performance of the following architecture which I have in an ASP.NET MVC project I am working on. Thanks! ...

Should we store JRE in CVS/SVN?

I want to bundle JRE 6.0 together with my java application. All my source code reside in CVS. My client will check-out the code and build it themselves. Should I store JRE in CVS? ...