commit

Can I substitute savepoints for starting new transactions in Oracle?

Right now the process that we're using for inserting sets of records is something like this: (and note that "set of records" means something like a person's record along with their addresses, phone numbers, or any other joined tables). Start a transaction. Insert a set of records that are related. Commit if everything was successful, ...

Need help reducing the Commit size of my VB.NET Application

I have an application which I've developed which queries Active Directory information and stores about 15 properties into a Datatable which is kept in memory. I need to decrease the amount of "Commit" memory it is setting aside. The application stays active in the system tray and allows for quick searching of information along with pic...

Is it better to use a separate commit message for a git merge?

I come from an SVN background so I'm not sure what the typical git workflow looks like. When you merge in SVN, you provide a commit message describing the merge. This is necessary because SVN's merge-tracking has historically been poor. I noticed that git's default behavior is to automatically commit the results of the merge if it is su...

What is the value of atomic commits in Subversion?

I'm trying to create and follow best practices for versioning control and came across a reference to atomic commits in subversion. Since I've never heard of this action, I have a few questions about it. What's its purpose? When should it be used? How is it different than a normal commit? Is it available to TortoiseSVN users? If so, h...

Google Code: Force comment on commit

I just started using Google code hosting and am a beginner at working with Subversion. I was wondering if there is a way to enforce a rule that no commits can be made without comments. I was researching into it, and I did find a way to do this on subversion - it involves creating a pre-commit hook. But I don't think I can do this in Goog...

Commit Changes after DataGridView edit using LINQ2SQL (Winforms)

Given a DataGridView that has a BindingSource set like this: On a winform, we add a BindingSource object using the designer, called myBindingScource. Then on the Form.Designer.cs we add this to the InitializeComponents() myBindingSource.DataSource = typeof(MyLinq.Person); //Mylinq is the autogenerated Linq Model/Diagram Later, in the...

bzr: Restoring a deleted file after some commits with bazaar

Hi everybody ! I'd like to know if it is possible to restore a removed file from an older revision (a clean way to do it) I've renamed a file for some tests, than I commited all my work (and I forgot to rename the file) and did a lot of other commits... When I realised, it was too late... Regards, Ayman ...

session.BeginTransaction() and transaction.Commit()

Hello there, I am new to Nhibernate, so my query may seem trivial to you. We generally embed data operation code inside using (var session = sessionFactory.OpenSession()) { using (var transaction = session.BeginTransaction()) { ...Code for CRUD operations transaction.Commit(); } } Because we generally BeginTransaction/Commi...

SVN how do I check code into a specific branch, when I've checked code out from the trunk?

I need to check in my code changes to a certain branch but im not sure how to do that since my code is from trunk =/ ...

GIT Log or Commit Monitor

Hi Guys, I am trying to find a Git Commit Monitor for Windows. Does anyone know whether one exists or ? Ideally it would essentially monitor the log and notify when a new commit has occurred ? Thx ...

How do I merge a single commit?

Sometimes I'm working with several branches at once. Say I have branches called master, release-1.1, and experimental. I create a new file or make a change in experimental and I want that one single change to apply to the other branches. Can I do this in git? If I simply merge the commit into another branch, git automatically "fast-f...

AnkhSVN commit/needs update issue

I have AnkhSvn plugged in to Visual Studio 2008. When I try to commit several files, and at least one of those files causes the prompt to Update, I would like to know which of those files has caused it. Currently, I am highlighting the files in Pending Changes, Right click and Show Changes, and change the options so it is FROM Base TO ...

C# OLE DB: How can I reorder columns of database table by using a dataset?

I know this might be a bit awkward but I am trying to modify the order of certain columns in a MS Access database in C# with OLE DB. How can I commit a certain change in the order of the columns of a datatable in a dataset? If that is not possible, how can I reorder columns of database table by using a dataset? Here is a sample of what ...

Can a script be automated after a commit on Perforce?

We use Perforce at work, and routinely keep software projects in the repository. In general creators follow the normal Perforce flow, BUT we also have a class of users, who doesn't have any need to edit the files but only read them. Currently we use P4Web but that requires the user so download each file individually to reassemble the p...

SQLite Transaction not committing

For an application we are developing we need to read n rows from a table and then selectively update those rows based on domain specific criteria. During this operation all other users of the database need to be locked out to avoid bad reads. I begin a transaction, read the rows, and while iterating on the recordset build up a string...

Commit and Lock in subversion

Hi All, Please do let me know how to write the below commands in subversion 1) How we can commit a file in chunks. 2) Attaining lock on all files before we commit. ...

Subversion Dreamhost Coda

I am a intermediate web developer, I am attempting to integrate subversion into my workflow. I have come to the understanding, that it is something important to learn, and can save me from rewrite issue nightmares in the future. My current host is dreamhost I have setup subversion with them, and I have checked out the project(my syntax...

How do I list just the files that would be commited?

Hello, Is there any way to get a list of files that will be committed when I type the following? git commit -m "my changes" git status lists too much. I could strip out all the words, but I'd rather not. And I don't want to be told about untracked files. I've tried git ls-files -md but that doesn't show files that have been re...

Should I have to merge and commit every time I update my Mercurial branch on the production server?

I'm using Mercurial in a recent project. On the web server where I'm deploying the project I have a slightly different config file with production settings. The problem is when I pull and update, I often have to merge and commit as well. Is this the correct workflow? It seems strange that in order to be able to continue to update I h...

Subversion: Can I commit several checked-out folders at once?

Let's say I have working copies of several different folders from my SVN repository scattered across my file system. Their parent directories are not part of the repository. E.g. somedir1\ workingcopyOfA\ workingcopyOfB\ somedir2\ somedir3\ workingcopyOfC\ workingcopyOfD\ Now they all contain changes which I would l...