commit

Deploying changed files from repository?

Hi everybody, I have tested both mercurial and SVN recently, and I fell for Mercurial to solve my version control needs. However, I have files in my repo, that I work on locally and commit my changes to daily. I have yet not found any way to deploy files to a remote production environment from my local testing environment. How can I d...

SVN infinite loop of failures (committing a file)

Hello, I am trying to update my changes to some python work onto an SVN server. When I attempt to commit the file to the svn, I get an error that my folder is out of date: "Transmitting file data .............svn: Commit failed (details follow): svn: Directory '/scripts/setup/configure' is out of date" When I attempt to run "svn updat...

Commit live with subversion

Is there a good library in c# that can check against a ftp and subversion and then upload the updated files (when comparing against a given rev.)? Forbidden files to upload should be given. (like local web.config, dev files etc) ...

How to commit changes to a Subversion repository using TextMate

I'm just trying out TextMate now as a replacement for the extremely powerful, but extremely ugly PHPStorm (on my Mac). Everything is fine except for SVN. I have my working copy already on disk, and TextMate correctly shows me the SVN metadata for any file I open from that working copy. But, now that I made a change to a file and I want...

SVN selective commit

Is there a way to do a selective commit from command-line? I would like to commit some, but not all of the modified files. I'm thinking in the lines of parsing the output of svn status. ...

Determining if a Git repository contains a particular commit

...

Error committing Trunk after merging Branch back in. How to resolve?

I'm getting the following subversion error: Subversion does not allow to commit this combination of files and directories at once. Directory deletes must be recursive and this would commit other files: Deleted directory: D:\mm32.net\Trunk\MyApp.Web\App_Themes\Factsheet_print\Images\Risk Directory to commit: D:\mm32.net\Trun...

How to forbid git commit if there are untracked files?

Sometimes, it makes sense to forbid git commit when there are untracked files, because you should add them either to files to commit or gitignore. And an option like -f to force this commit is also necessary. So is there any option/plugin/etc to do that? Thank you very much. ...

Remove file from commit

Hello, I have a list of changed files in git repository. There is one file I don't wanna commit for the current moment. Can I do: git commit -a To commit all files and then somehow remove that file from current commit? After such removing it should still be in the list of uncommited files. ...

When to commit NHibernate transactions in ASP.NET MVC 2 application?

First, some background: I'm new to ASP.NET MVC 2 and NHibernate. I'm starting my first application and I want to use NHibernate, because I come from JSP + Struts 1 + Hibernate web applications. No one seems to be talking about this, so I guess it must be pretty obvious. Still I scratch my head because I can't find a solution that accomp...

Git commit to common submodule (master branch)

I've two or more projects (let's call them ProjectFoo and ProjectBar) having some common code that I put in a submodule. My understanding is that if I commit changes to a submodule from within ProjectFoo it'll be in a detached head that only all ProjectFoo clones can see: (master) $ cd ProjectFooBarCommoneSubmodule/ (master) $ git comm...

commiting to git repo from a second machine [Github]

Hi, I am new to git. I could setup my git repository and started to using it a couple of days ago. (I am using Github) Now I want to be able to commit from my other computer, so I setup git, try git clone [email protected] but I got The authenticity of host 'github.com (207.97.___.___)' can't be established. RSA key fingerpri...

Replace git's SHA with an index

My colleague pointed out lately, that SVN refers to its commits with unique numbers. If I want to refer to a commit in Git, I know that I just have to copy a few of the SHA's digits, but even if a project has some thousands of commits, an increasing number would be easier to remember or even type. Is it possible to let git list its comm...

How do I use hg push in Mercurial

Hi, I've spent some time converting my SVN repository to Mercurial. I've setup Mercurial under IIS7 on Win 2008 R2. I have nearly everything working. However I can not push changes back to server. $ hg push http authorization required realm: pandora user: rich password: pushing to https://pandora/dev/test searching for changes abort:...

How to only commit files in the unnamed changelist with SVN?

I am using the command line SVN client (for speed reasons) and have a changelist of files that I wish to ignore on each commit (much like TortoiseSVN does). Is there a way to commit all files except a specific changelist or maybe just commit all files not in a changelist? Thanks ...

Tortoise SVN asking to be updated with nothing to update

I go to commit a bunch of code, using Tortoise SVN, and it barks at me, telling me I can't do so without updating. So, I update. It tells me that I am fully updated, having updated absolutely nothing. Then, I re-commit the previous attempted commit and it commits as i there never was a problem. Exactly what is being updated when no...

Find a file history

Hey, How do I find in which git commits a certain file was changed? like.. git --when-did-it-change scr/ThatBuggyClass.java 88fa9f (HEAD) last time trying to debug it 99321c another round with ThatBuggyClass ... cheers! f. ...

Update Zero Rows and then Committing?

Which procedure is more performant for an update which affects zero rows? UPDATE table SET column = value WHERE id = number; IF SQL%Rowcount > 0 THEN COMMIT; END IF; or UPDATE table SET column = value WHERE id = number; COMMIT; In other words if an Update affect ZERO rows and a commit is issued am I incurring any added expense ...

Git: How do you commit code as a different user?

I want to be able to do this for a script. I'm essentially re-creating the entire version history of some code in git - it currently uses a different version control system. I need the script to be able to add in the commits to git while preserving the commit's original author (and date). Assuming I know the commit author and the date/t...

Tortoisesvn cannot commit

Hi I've just upgraded from 1.5 of Tortoisesvn to 1.6 and most of my repos seem ok. But I have one where the icons are there as expected but when I try to commit a particular file I get there have been no changes. I've tried a cleanup and even trying to commit all the files but that just leaves the commit back hanging on Please Wait Che...