I'm working in a branch, and got a working copy with is really unclean. When looking through the changes to commit, I wanted a few oneliner fixes to be committed to the master branch.
In this case, using git stash is not really helping, because my working copy has lots of other changes which won't merge with master yet.
Is there a more...
Is it possible to use the commit message in a pre-commit hook in CVS? The CVS server is running remotely, and I access it using pserver.
Ideally, I want to allow the commit if the files pass the filter or the commit message contains certain text.
I don't have a choice to use another versioning system.
...
hi
I got an oracle db 10g, here a table as an example
create table Dienstplan
(
Montag Number(2),
Dienstag Number(2),
Mittwoch Number (2),
Donnerstag Number (2),
Freitag Number (2),
Samstag Number (2),
Sonntag Number (2),
gueltigAb DATE default SYSDATE NOT NULL,
PersonalNr Number(10) references Mitarbeiter(PersonalNr) INITIALLY DEFERRE...
I just did an svn merge to merge changes from the trunk to a branch:
$ svn merge -r328:HEAD file:///home/user/svn/repos/proj/trunk .
--- Merging r388 through r500 into '.':
A foo
A bar
C baz1
C baz2
U duh
[...]
But there were too many conflicts, so I'd like to undo that.
One way to do that is to commit and then merge ...
As I am running out of my space on GitHub on my free account (yes, I am considering upgrading), I am setting up new git repositories on Gitorious (see also GitHub vs Gitorious). One great feature of GitHub is the post-commit hooks, that allow me to notify the (also great) CIA network...
However, I have been unable to find if Gitorious s...
Hi,
Does anybody know how to prevent commits to a Subversion code repository when there is no commit comment entered?
Thanks in advance.
Kind regards,
Maverick
...
In our application, there's a database update that is committed only after a consequent update is being executed (both using the same transaction, of course). However, we've discovered a rare flow in which the user exits the application before the second update, causing the first to be discarded. I'm looking for a way to recognize this u...
I would like to publish my git history to a public repository but would like to remove older commits. All the ways I have seen to do this alter the newer commit's SHA1s, which is not an option since I want to be able to push to the modified repo. Is there anyway to do this ?
...
I'm new to Git and a bit confused. I have Master branch and have created a second feature branch.
If I make changes in my feature branch and then switch to Master, will my changes be lost if I don't commit?
Where does stash come into play, is it something you do before you switch branches (but don't want to commit) or is it to sim...
I have a repository already online, but I want to commit what I have on my hard drive and disregard what is on the online repository.
I know I can do an initial checkout on a blank folder, then delete the downloaded files, paste the new files to the folder in Windows Explorer and then do a commit. But I'd rather skip this step. There mu...
When I commit changes with Emacs' built-in VCS interface (I use it with Bazaar) it commits only one file - that's open in current buffer.
So when I press C-c v v, enter message and C-c C-c, it does something like
bzr commit -m "my message" file/open/in.buffer
instead of
bzr commit -m "my message"
How to commit all changes with Emac...
There are minor coding style changes that I often want to commit to the source control, but now the change log is full of those changes that do not affect code functionality.
What should I do next time I have to fix minor things like:
Remove and sort usings (in .NET, imports in python, includes in c++)
Correct indentation, spacing and...
Hi,
We're using MS Visual Studio 2008.
TFS seems to take into account the creation date of a file or something, to determine whether the files should be committed.
Is it possible to make TFS test just on the filename and content?
I check out an xml or txt file
I copy the content
I open notepad and paste
I save the file using the s...
Is there some way how to commit into the SVN repository with old time / date or how to edit the time / date post commit?
I have some archived sources which are very old, way before I have started using SVN, and I would now like to put them into the SVN and if possible to preserve their original date, so that SVN history matches the real...
Hi all,
MY PLATFORM:
PHP & mySQL
MY SITUATION:
I am trying to implement transactions within my code. I tried to follow examples, but it's not much help. I am running 3 queries and I wanted to write a transaction in such a way so that if any of the query(ies) fail, the whole transaction should roll back. I would really appreciate a si...
Hello
I'm trying to build an IRC Bot which tells me in a private channel every commit-message which I want to know about. But I have trouble to get per
#!/bin/bash
REPOS="$1"
REV="$2"
# call bot with arguments reposname, revison and commit message in one string
/usr/bin/perl /home/user/repo/svn_irc_bot.pl "$REPOS" "$REV"
# all che...
hello
I have have a main project I am working on, which has several modules/directories.
The main project is bound to local svn repository. however, whenever I do commit, I would like to push some modules/directories to Google code repository as well. However I only want to update from local repository. Is there a way to do it automat...
Hello,
I've just set up Visual SVN Server and slik SVN clients.
I imported a project from my desktop computer into the repository. Then, on my laptop I checked out a copy and made some changes. When I tried to commit, it failed saying it was not a working copy.
I thought maybe I had somehow messed up the svn files, not sure how I woul...
Hi,
I've set up BugId property to my files in the repository. This means that on the commit window, I have a field which the developers type the issue number of the bug and it's shown in the log message of the commit.
I wanted to know if there a possibility that once I click on the commit button, before the commit itself, an exe file ...
I am doing a bulk insert/update for millions of records using the MERGE statement in oracle. Well, the other options could be to use FORALL making use of BULKCOLLECT and then commit but this operation will be again a slowdown the performance since I need to keep loop.
Committing after completion of entire merge operation will be a perfor...