commit

Hot to commit changes for a TreeView while editing a node (C#)?

I am playing with Microsoft's TreeView control and I am trying to force a data update of some sorts while editing a node's label, similar to UpdateData for a grid. Basically, in my editor, I have a Save button and this TreeView control: what I want is when I am editing a node's label in the TreeView, if I click on the Save button I want...

Can I commit only parts of my code using SVN or Mercurial?

I use Tortoise SVN usuallly, but I have been looking into Mercurial since it is a distributed revision control system. What I am looking for, in both systems, is a tool that let me pick only parts of a file and commit them. If I want to do this now, I have to copy to a temp version of the file and keep only the changes I want to commit...

Subversion large repos import/checkout

My normal work flow to create a new repository with subversion is to create a new repos, do a checkout of the repos root, create my branches tags and trunk folders and place in the trunk my initial files. Then I do a commit of this "initial import", delete the checked out repos from my hard drive and do a checkout of the trunk. Then I ca...

How do I edit an incorrect commit message in git

I stupidly did a git commit while half asleep, and wrote totally the wrong thing in the commit message, How do I change the commit message? I have not yet pushed the commit to anyone ...

Is there a difference between commit and rollback in a transaction only having selects?

The in-house application framework we use at my company makes it necessary to put every SQL query into transactions, even though if I know that none of the commands will make changes in the database. At the end of the session, before closing the connection, I commit the transaction to close it properly. I wonder if there were any particu...

How can I force subversion to commit an unchanged file?

I want subversion to commit a file even if it's unchanged. Is there a way to do this? ...

database autocommit - does it go directly to disk?

So I know that autocommit commits every sql statement, but do updates to the database go directly to the disk or do they remain on cache until flushed? I realize it's dependent on the database implementation. Does auto-commit mean a) every statement is a complete transaction AND it goes straight to disk or b) every statement is a c...

How to get daily commit count and the number of modified paths from svn repository?

So what is the easiest way to accomplish this? ...

SVN commit error after deleting files locally

I have a project that I am building with Netbeans 6.1 and I am using SVN. I deleted some files on the local machine then attempted to commit my changes to th SVN repository. The commit fails with the error message Entry for 'C:\path\to\project\myfile' has no URL Where myfile is the deleted file. Is there some way to tell SVN that ...

Subversion: Tag and commit modified files at once

I want to do something like this from within Eclipse: http://svn.collab.net/viewvc/svn?view=rev&revision=33845 I use Subversive 0.7.5 with the Native JavaHL 1.5.3 (r33570) Connector. I tried to change something in a my working copy of a branch i'd like to tag and creating a Tag with Team -> Tag... But I got the error message: T...

How do I edit a commit message that I already committed in Subversion?

Is there a way to edit the commit message of a certain revision in Subversion? I accidentally wrote a wrong filename in my commit message which could be confusing later. I've seen How do I edit an incorrect commit message in git but the solution to that doesn't seem to be similar for Subversion (according to svn help commit). ...

Subversion Commit Problem: XML data was not well-formed

I'm experiencing a strange behavior of SVN. I've got SVN repository running on Apache 2.2.9 with mod_dav, mod_dav_svn and SVN 1.5.2. When I try to check out (from remote 1.5.4 client or server-local 1.5.2 client - both "default" svn binaries), I'm getting something like: mx-mac:Test mx$ svn ci -m "" Adding test.txt svn: Commit f...

How can I implement commit/rollback for MySQL in PHP?

Well basically I have this script that takes a long time to execute and occasionally times out and leaves semi-complete data floating around my database. (Yes I know in a perfect world I would fix THAT instead of implementing commits and rollbacks but I am forced to not do that) Here is my basic code (dumbed down for simplicity): $data...

SVN says I need to perform cleanup, but the cleanup fails

When I try to commit: Error: Working copy 'D:\Webs\Drupal 6' locked Error: Please execute the "Cleanup" command. When I try to do a cleanup: Cleanup failed to process the following paths: D:\Webs\Drupal 6 Does anyone know how I can solve this problem? Duplicate: http://stackoverflow.com/questions/127932/svn-working-copy-xxx-lock...

Git commit against tag with no branch

If I check out a tagged version of my source code without creating a branch, Git indicates that I'm not associated with any branch at all. It's happy to let me make changes and check them in though. Where do those changes go? If I switch back to 'master' they disappear (overwritten by what was in master) and I can't seem to find them aga...

Commits missing after incomplete "git svn dcommit"

I'm missing a few important commits after my computer lost power in the middle of a "git svn dcommit" operation, and I'm unsure of how to get them back. "git log" doesn't show the commits, any ideas? ...

undo changes on table in database

my application has the following procedure. a database of products (20,000 rows) exists. our client has 'import' feature where he imports an excel file. this is implemented by deleting all products table rows, then doing the import - which is a long thing since we programmatically performing calculations on the data. the obvious prob...

How can one change the timestamp of an old commit in Git?

The answers to this question describe a way to amend previous commit messages that haven't yet been pushed upstream. The new messages inherit the timestamps of the original commits. This seems logical, but is there a way to also re-set the times? ...

Git: removing selected commits from repository

I would like to remove selected commits from a linear commit tree, so that the commits do not show in the commit log. My commit tree looks something like: R--A--B--C--D--E--HEAD I would like to remove the B and C commits. So that they do not show in the commit log, but changes from A to D should be preserved. Maybe by introducing a s...

Build on commit with subversion

Simple question. I use Visual studio and i 've just installed subversion, how can i force the project to be build with msbuild, and if successfully build commit it else warn the user. I would use TortoiseSVN or VisualSVN or AKHSV (whatever it's called) if they have the ability to force build on commit builtin (i know that this is not the...