repository

How to I restore a Subversion working directory to what is in the repository?

Ok, I've kind of borked my initial repository. I imported the repository, but got timeout error 80% of the way through, and now trying to finish the import gives me 405 errors and tree conflicts. What I really want to do is just get the files in place. It's a brand new repository, so there's no history to worry about and no user changes ...

How do I get Eclipse to find the "org.eclipse.team.cvs.ssh" bundle?

I've been trying to install IAM or m2eclipse without success. Both of them need the org.eclipse.team.cvs.ssh bundle, but Eclipse Helios complains that the repository could not be found. I've been attempting to then just install that single bundle without success. I select the "Helios - http://download.eclipse.org/releases/helios" reposi...

Do repositories have a hidden dependency on the database?

For example, you have an IRepository interface. You also have a SqlRepository class, which implements the interface, backed by a SQL database. Let's say the constructor for that class takes a connection string. If your repository makes stored procedure calls and if those calls are internal to the repository, isn't that a hidden depend...

In Subversion, how do I verify that everything was successfully loaded into the repository?

I have got a Subversion repository, but how can I tell if it really has everything it's supposed to? The file and folder counts are widely different between the Working Folder and the original folder I used to create the repository, even accounting for the contents of the .svn folder in each repository folder. (assuming they all are th...

svnant command to copy files from an ssh repository to a sever?

Hi is there anybody who knows how to write the copy command for svn-ant or just svn to copy files from an ssh repository(svn+ssh://[email protected]/media/repository/files) to a server folder (var/httdocs/files) ...

Is there a way to trigger a shell command automatically after repository update/switch?

Hi, I would like to perform a shell command that takes care of cache files and compilation after I have run git pull or svn update (in another project)? ...

svn commit bad version and then good

Hello, I have svn repository with project on it. Right now there is "good" version and on my computer there is "bad" version but I want to have both on repository. I dont want to make any tags. I can rememebr that I once did somethinkg like that: Commited "bad" version, then checked out old but "good" version and commited it so that "...

Should a service class be more than a wrapper of a repository class?

I have the understanding that using data access routines directly from presentation code is considered evil. So I have a separate Repositories project, as well as a Services project. From what I can tell, typical use of a service layer is to insulate the data access from the presentation. All well and good. I have a pretty simple domain...

SVN folder (not repository-wide) permissions

I am a bit new to SVNed code. We are a small team (4 people) divided into two duos. Each of the duos has its own disjoint share of the project. I want to be able to SVN a project to a single repository with the following: each duo, should be able to write to it's own "section" of the rep'. each duo, should be able to read-only the oth...

cache repository's result or maybe sql server does it for me

I have repositories like this in my application public class FooRepo { public Foo Get(int id) { return Foo from Db; } } I'm just wondering if there is possible to do some caching for the methods inside the repository, or probably there is no need because sql-server does it for me, but if needed could someone point/s...

Git pull with rebase causing excessive conflicts. How can I fix our workflow?

We have a base system that is customized for each client. The base lives in its own repository, and each client lives in its own repository (originally cloned from base). The goal is to have the ability to add bug fixes/features to base, which can be propagated to clients, on demand. So far the workflow has been as follows: Make comm...

Death of the Repository?

I have been hearing a lot about the death of the repository pattern. People using listen when such influential people such as ayende: http://ayende.com/Blog/archive/2009/04/17/repository-is-the-new-singleton.aspx speak. This is a direction which i really don't understand and hence my post. Maybe i don't get the point because of my li...

Do repository sizes increase within time and revisions?

Hi, All source code hosting services have size limits. I am wondering that does that mean my files can be up to that size -- or that the repository is limited to that size? Say I have 5 files of 100 kB, if I keep changing them and committing, will the repo size get larger? For example, Github.com smallest plan has a limit of 0.30 GB, a...

new svn server, same ip

Hello, Here is my problem: My server crashed last night! So i had to go out and buy some new stuff and i now have a new server. I have everything set back up and i am trying to set my svn server back up. I have it set back up. I have my files on another pc that i want to commit to the svn server to start my repository back up. How do i...

What's a good way to handle entities within an aggregate that persist to multiple databases

Hello everyone! I'm dealing with a design problem that I'm sure has a simple answer and/or has been solved before. I've been reading, thinking, and searching for solutions for quite a while, but nothing seems to really make sense. The gist of the issue is that I'm dealing with a series of legacy systems and databases and I'm trying to t...

Replacing repository pattern with an ORM?

This is a repost of another thread i created. I think my first post was a little rhetorical in nature so it was closed so hopefully i can word my question better. There seems to be a push by some of the industry heavy weights to recommend using an ORM over the repository pattern and building your on DL Layer. So in your application lay...

Aggregates, Repositories and a service layer

Take a class which has relations with a couple of other classes. The first class can be seen as the aggregate(root). Seen from the point of the service layer how would one best split the calls? Call the repository of the aggregate for the entire object graph and call from that particular repository other repositories to handle the savi...

How do I prevent Maven 2 from searching remote repositories for specific local depedencies?

How do I prevent Maven 2 from searching remote repositories for specific dependencies that are in the local repository only? ...

Analyze SVN/GIT repos to determine how much work is actually done?

One of my clients is using an out-of-state programmer for a project. He can't really figure out how much work the programmer is actually doing, so he's afraid that money is potentially going down the drain. What I'm wondering, is it possible to use a SVN or GIT repository to calculate or estimate how much real work is actually being don...

Import SQL database structure to the repository

What do you suggest as good ways to import database structure and commit database structure changes to the repository? Our current procedure is to export the structure into a text file then replace it the the existing text file in the repository. I find it tedious and time-consuming. Are there any utilities to do this? ...