Questions tagged [post-commit]

205 questions
3
votes
5 answers

Grouping committed files together (as a single commit) after you've already committed them to the repository in Svn?

Is it possible to group a number of committed files together (as a single commit) after you've already committed them to the repository in Svn? It seems I always forget a file or two after I've committed a bunch them (when not using subeclipse) and…
leeand00
  • 25,510
  • 39
  • 140
  • 297
3
votes
3 answers

(iOS, XCode 4.2) Setting bundle version using Git post-commit hook causes my project to turn into a Mac project

I've decided to start versioning my project "the Apple way," using "Bundle versions string, short" for the "marketing version" (i.e. 2.0.1) of my project, and "Bundle version" as a build number (e.g. 42). To that end I've added a Git post-commit…
Donald Burr
  • 2,281
  • 2
  • 23
  • 31
3
votes
1 answer

TFS and Post-Commit

Does TFS 2010 have an SVN Post-Commit event ? I want to run a script or an app or do stuff every time a developer checks in something. I've looked over the internet but didn't find something about this.
CoolStraw
  • 5,282
  • 8
  • 42
  • 64
3
votes
0 answers

is there a commit hook for signing commits?

I've seen lots of pre/post commit/push hooks, but I haven't seen one for ensuring that the commit is signed. I don't know how to go about it, but I assume it might use git [log|show] [commit(s)] --show-signature. disclaimer: yes, I've GTFS'ed and…
tedder42
  • 23,519
  • 13
  • 86
  • 102
3
votes
3 answers

Update on each client

I have a SVN server running on Windows. I need to force an update on every "working copy" (for each people using the svn repos) after a commit. I tried with a post-commit.bat script in the hook directory on the svn server. The problem is that the…
CM.
3
votes
2 answers

svn post-commit hook failed (exit code 6) with output:

I am trying to update a remote server's repository using ssh from a shell script via svn post-commit hook. What I did was, Wrote a shell script to ssh to the server and update the repository Added a line to execute the above script on post-commit…
Vivek S
  • 5,384
  • 8
  • 51
  • 72
3
votes
2 answers

Jenkins commit a file after successful build

I am using Jenkins, Ant , Flex and Java for my web application. Currently I update a build version file in Flex src and commit it before starting Jenkins build. I want to avoid this manual process and let script do this for me. Contents of…
user418836
  • 847
  • 3
  • 8
  • 19
3
votes
3 answers

Saving time in SVN post-commit hooks?

At my place of work we've started to introduce proper SVN hooks, "proper" meaning "doing a lot of policy checking". Currently, our policy consists of Perl::Critic with Perl::Tidy checking enabled. However, especially the latter one takes a lot of…
Nikolai Prokoschenko
  • 8,465
  • 11
  • 58
  • 97
3
votes
2 answers

SVN post commit hook - find folder to which commit was done

Our repository has a structure like this: Dev Project1 source docs ... Project2 source docs ... ... After we commit changes to Project1 sources we would like to deploy Project1 (compile,…
Sazug
  • 382
  • 4
  • 13
3
votes
2 answers

SVN post-commit hook to modify externals

We have a Subversion setup that makes fairly extensive use of svn:externals (more than 5 external references in one project, and while most are in the same repository, one or two are in a different repository but still on the same server).…
Ruslan
  • 2,691
  • 1
  • 19
  • 29
3
votes
1 answer

Simple SVN post-commit hook to export changed files to test server

With SVN I am currently exporting the contents of the repository to a test server manually using the following command on the test server (after logging in via SSH/Shell): svn export http://svn.domain.co.uk/project /home/user/public --force However…
Jasdeep Khalsa
  • 6,740
  • 8
  • 38
  • 58
3
votes
2 answers

post-commit-hook.bat (Windows+VisualSVN Server +Trac 0.12) close ticket from commit

Windows + VisualSVN Server + Trac 0.12 I want, that tickets automatic close, when commit text have "close #2" (or other command, all the same)
couatl
  • 416
  • 4
  • 14
3
votes
3 answers

SharpSVN get post-commit-hook with 'SvnLookClient'

I'm trying to figure out how to get the commit message for a particular revision. It looks like SvnLookClient is probably what I need I found some code here on SO that looks like what I need but I seem to be missing something.. Code I found (here on…
KevinDeus
  • 11,988
  • 20
  • 65
  • 97
3
votes
2 answers

svn propedit in a noninteractive script

I need to edit a svn property on a file after a commit happened. Therefor I'd like to use a post-commit script. Example: I have a property called export with a value set to test when I commit a file called example.ex After my commit succeeded I have…
derroman
  • 309
  • 2
  • 11
2
votes
1 answer

Subversion hook updating externals autentification error

I have a post-commit hook that is updating a working copy. In that working copy some of the files are externals witch have authentication. Is there a way to pass the login credentials to the svn update only for the externals ? Right now it does the…
Gabriel Solomon
  • 29,065
  • 15
  • 57
  • 79
1 2
3
13 14