repository

TortoiseSVN: commit has been ignoring me?

Hi, I'm currently writing my master thesis and I'm using TortoiseSVN to keep a backup at freepository.com. I've been religiously committing several times a day, since I'm working hard and making many changes a day. Today I committed again and strangely enough I got an error saying that my working copy was out of date, which makes no sen...

Is there a library repository for C?

Possible Duplicate: Why there is not a comprehensive c archive network? Everyone knows that C is very small language, it has just language primitives and almost no standard library (no data structures or algorithms). Therefore I have a question, how do I find good C libraries for data structures, algorithms and perhaps system...

svn repository malformed: how to fix repair repository structure

OK. The repository structure has directories "src" "aux" and "script". No "trunk", no "tags", no "branches". Is there any way I can get this code into a correctly-structure repository while preserving the revision history? ...

Can't get Database to update using Repository Pattern and LINQ to SQL.

My project has the following setup Controller -> Service (for validation) -> Repository (for LINQ) -> dbml -> Database Controller ''# <AcceptVerbs(HttpVerbs.Post)> - hiding this line so that code formatting looks proper in SO. Function Edit(ByVal user As Domain.User, ByVal id As Integer) As ActionResult If ModelState.IsVali...

Mercurial convert with filemap to separate subfolders creates empty repository

I have a large Hg repository (2+GB) that was converted from an svn repository. It has a number of websites in it, and we want to separate those out into separate Hg repos. The repositories are on a Windows 2008 Server and we're using the hg that comes with TortoiseHg. We've been trying to use the convert method with a filemap to create ...

Android intents repository

There are many intents an Android developer can use - the ones that arrive with the OS, OpenIntents, and several others. Is there a site that lists all possible intents and their parameters? ...

Override certain files from another Subversion repository

Hi, I'm looking at a way to have a subversion repository to be basically a copy of another subversion repository, except a few files from the other repository that I want to override. Basically, I would want to achieve something like this: / - branches/ - mybranch/ = if files are added in /trunk, they get added here - file1 = lat...

How to prepend the past to a git repository?

I received some source code and decided to use git for it since my co-worker used the mkdir $VERSION etc. approach. While the past of the code currently seems unimportant, I'd still like to put it under git control as well to better understand the development process. So: What is a convenient way to put those past versions into my alrea...

Task per branch with perforce

Hi all, i'm preparing a seminary about p4 and i'm trying to find the best way to use the "Task per branch" methodology, now i'm using the following steps: (all by CLI) Set my client to the root depot in order to create the new branches. View: //depot/... //myMachine/... p4 -c myClient integ -v //depot/MAIN/... //depot/myBranchX/... p4...

How to undelete a file previously deleted in git's history?

Using Chris's answer on another question I could prepend a snapshot-history to my git repository. Since one of the files is not part of my history but only in the snapshots, the first original commit now also contains the deletion of this file. How can I undo that? At first I thought this was the opposite of How do I remove sensitive fi...

Build a generic repository for an Entity Framework application

Hi there. I'm trying to write a generic repository for my Entity Framework based application. Here's my prototype code: Interface public interface IDomainRepository { T GetById<T>(int id, Expression<Action<T>> idx) } and the repository: public class DomainRepository : IDomainRepository { private readonly...

Creating multi level repositories in SVN

We are planning to create a multi level repository with the following structure RepositoryRoot | --- Framework | | | --- ArchitectureProj1 | | | --- ArchitectureProj2 | --- Application | --- Project1 | --- Project2 But how do I create such...

Accessing SVN repository when the server is run in daemon mode

Am running the SVN server in daemon mode using svnserve -d. How can I frame the URL for accessing my repository in this case? ...

How to make a project "repository/team" ready

I have been working solo on a project for some time, and now, new developers are likely to join the project for various reasons. I, of course, use a version control software but I am afraid importing my project into Eclipse and making it run might prove a little difficult for new comers, and I want to make it as clean as possible. When...

how to do `git gc' on git remote repository.

As we know, we can run `git gc' periodically to pack objects under .git/objects. for a remote central git repository, for example, a git bare repository. after many pushes, there many files under myproj.git/objects (seems one file for a commit?), how to pack these many files, i mean on remote central bare repository, not on local clon...

Repositories and Units of Work - which is responsible for what?

Over the past week or so I have been reading a lot of articles and tutorials regarding the repository pattern. A lot of the articles closely tie the repository pattern to the unit of work pattern. In these articles, I usually find code similar to this: interface IUnitOfWork<TEntity> { void RegisterNew(TEntity entity); void Regis...

Sharing a repository on a dual-boot between Ubuntu and Windows 7?

Hi, I just recently set my computer up to dual-boot Windows 7 and Ubuntu. I added a shared partition for music, pictures etc... I was wondering, is it feasible to have a code repository that is shared on the common partition? ie when I'm running Windows, I can control/update it and also the same while in Ubuntu. Is a particular reposit...

Service vs. Repository

Hello, Wherein lies the advantage of the first approach getting customer data? ICustomerService customerService = MyService.GetService<ICustomerService>(); ICustomerList customerList = customerService.GetCustomers(); vs. ICustomerRepository customerRepo = new CustomerRepository(); ICustomerList customerList = customerRepo.GetCustome...

Restricting local Nexus repository to access Central

We are planning to release our corporate nexus repository to the developers. The problem in hand is that, we would like to enforce standards on the versions of jars that could be downloaded from the repository. For example, If we already have Spring framework version 3 available in nexus as an organization standard, then the developers c...

Problem when getting an entity which has been modified in another session

Hello all, I have a strange problem in my rich client application. Here is some background: I use one session per view model. My view models communicate with each others with a Mediator. I have a management view model where I display a list of my entities. I can edit an entity, which results in the opening of a new view model, whic...