repository

Can I automatically overwrite repository files using svn_load_dirs.pl or similiar?

I am working with a legacy VSS repository which was transferred over to a new SVN repository a few months ago. In the meantime, before we go live with the SVN repository, we need to bring over all the changes that have happened on the VSS one between then and now. I was looking at different ways to do this which seem to be things such ...

Delete file with all history from svn repository

Is there any way to delete file from svn repository including all its history? This issue emerges when I want to get rid of large binary file residing in repo. I know only one approach that might help in this situation: Dump all repo with the help of svnadmin utility. Filter dumped file with grep. Grep should use filename and write i...

Subversion public free repository for documentation and config files

I've been through all of the questions about free online subversion repositories, but haven't found exactly what I'm looking for. I would like to upload some config files, small scripts, and make it a public SVN repository. I would like a simple service, with just a Subversion public repository and one person to commit. No Trac, no pro...

Repository with Specifications for non-linq data access frameworks

I'm currently using NetTiers for all data access operations. While it is easy to use, it is a major pain to deal with template updates and regenerating DAL especially on large and constantly evolving projects. Aside from that, NetTiers is database-centric, not model-centric which is where i'd like to be. What i would like to do is try ou...

How can I get the list of artifacts from my maven repository?

Hello, Is there a Maven goal to list the artifacts stored in my maven local repository? ...

Repo browser in svn "Repository moved permanently to... please relocate"

Hey all, In the repo browser when I enter the svn root (http://servername/svn) directory I get this message "Repository moved permanently to 'http//....' please relocate There are several projects in this repository and I can access/checkout/update each project but I can't even access the root. How can I fix this? ...

'Generic' ViewModel

Using EF 4, I have several subtypes of a 'Business' entity (customers, suppliers, haulage companies etc). They DO need to be subtypes. I am building a general viewmodel which calls into a service from which a generic repository is accessed. As I have 4 subtypes, it would be good to have a 'generic' viewmodel used for all of these. Probl...

git rollback single file

I'm currently in branch 'foo'. I just ran git merge master. Only problem is there was a certain file in foo that I wanted to keep. Is there a way to get it back but keep all the other changes from merge master? ...

How should the addition of an aggregate root to a repository be expressed?

Let's say we have an aggregate root entity of type Order that relates customers and order lines. When I think about an order entity it's more natural to conceptualize it as not being defined without an Id. An order without an Id seems to be better represented as an order request than an order. To add an order to a repository, I usuall...

MVVM With EF, DataAccess design question

Hi all, First and foremost. Sorry about my English, i'm still learning :) I'm currently wrestling with the MVVM model. At the bottom, i have a database. On top of that sits my DAL which is bascily the ADO.NET entity framework. *Note that the different entities are also my business objects (since i include validation in them). On to...

BeginTran(), Commit() and Rollback() in Repository Pattern

While creating a repository by using NHibetnate(or, whatever), should I keep explicit BeginTransaction(), Commit(), Rollback() like the following? public class NHibernateRepository<T> : IRepository<T> { private NHibernate.ISession _session; public NHibernateRepository() { _session = NHibernateSessionManager.Instance...

Domain Driven Design: How to access child of aggregate root

If I have an Order class an as aggregate root and 1000 line items. How do I load just one of the 1000 line items? As far as I understand, a line item can only be accessed through the Order class and has a "local" identity. Would I still create a repository method at the OrderRepository like "GetLineItemById"? Edit to comment the answer...

What Is The Proper Location For One-Offs In VCS Repos?

I have recently started using Mercurial as our VCS. Over the years, I have used RCS, CVS, and - for the last 5 years - SVN. Back 13 years ago, when I primarily used CVS and RCS, large projects went into CVS and one-offs were edited in place on the specific server and stored in RCS. This worked well as the one-offs were usually specific ...

git: Simple solution for pushing between working copies

What I want to do: On my (ssh remotely accessible) university machine I work on a project which I have put under git source control (git init, then git commit -a after every change, all works fine). Now I want to want to work on that project on my private machine at home. Should be easy, since git is a distributed vcs, right? I read the...

Can I do merges with the TFS offline?

We are having a problem with the TFS connection. Is there any way to do merges between branchs with the TFS down? ...

How do I stop Maven 2.x from trying to retrieve non-existent pom.xml files for dependencies every build?

In my project, there are a number of dependencies that are transitively included from other dependencies that do not have pom.xml files available in any of our corporate repositories. These are internal jar-only libraries supported by various teams which have been uploaded into repositories for convenience from non-Maven teams, however t...

Repository vs database vs filesystem

What makes repository different from database, filesystem or any other kind of storage? How can I exactly tell that this or that is repository judging by some set of features that it has or does not have? When I say 'repository', first of all I mean version control. But there are other examples of repositories, such as digital librarie...

Why seems any kind of abstraction to be solved with interfaces instead of abstract classes?

Heyho, There´s a question in my mind for some time now, which hopefully can be cleared quickly by some of you: I am a big fan of MVC, ASP.Net Mvc in my case. What I have noticed is the hype about interfaces. Every video, tutorial and book seems to solve any kind of abstraction with interfaces. I have adapted these patterns, understoo...

Downloadable source code repository system

Do you know if there are some free downloadable source code repository systems? I mean something like Github that i can download and install on my pc to manage only my own projects. ...

svn and git versioning models difference

I would like to know what is the difference between versioning approaches suggested by git (or other DVCSs) and subversion (or other CVCSs). Here is what I found on http://www.xsteve.at/prg/vc_svn/svn.txt regarding this topic: Subversion mananges versioned trees as first order objects (the repository is an array of trees), and ...