Zum Inhalt springen

Witty Blog

Geistreicher Dünnschiss. Kurz gemerkt für lange Zeit.

Schlagwort: cvs

Veröffentlicht am 26. März 2014

cvs commit: sticky tag ‚HEAD‘ for file ‚…‘ is not a branch

:~$ cvs commit -m "..." someFile.php
cvs commit: sticky tag 'HEAD' for file 'someFile.php' is not a branch
cvs [commit aborted]: correct above errors first!
:~$ cvs update -A someFile.php
M someFile.php
:~$ cvs commit -m "..." someFile.php

Veröffentlicht am 15. März 20131. Juli 2013

CVS: Find all files containing a specific string within the commit message

~$: time find . -type f -name '*.php*' | grep -v /CVS/ | while read FILE_NAME; do cvs log "$FILE_NAME" | grep -i '{search string}' >/dev/null && echo "$FILE_NAME"; done | tee .output

Veröffentlicht am 4. September 201215. Mai 2013

CVS: Tag all files having existing Tag with another tag (quick note)

Tag all files having existing Tag with another tag (tag „NewTag“ to all files with „ExistingTag“)
~$: cvs tag -F -r ExistingTag NewTag *

Veröffentlicht am 14. März 201215. Mai 2013

Create a CVS branch (quick note)

Tag with the root tag:
~$: cvs -d /home/cvsroot/ rtag -F Root_CustomTag ModuleName

Create the Branch, starting at the created root tag:
~$: cvs -d /home/cvsroot/ rtag -F -b -B CustomTag ModuleName

Kategorien

  • Allgemein (15)
    • Junk (5)
  • Backen & Kochen (20)
    • Backen (3)
    • Getränke (1)
    • Kochen (11)
  • Google (1)
    • SEO (1)
  • Linux (3)
  • Mac (4)
  • Programmierung (43)
    • Flash (1)
    • HTML (6)
      • CSS (2)
    • Java (2)
    • Javascript (3)
    • MySQL (6)
    • PHP4/5 (16)
  • Server (26)
  • Software (4)
  • Unix (17)
  • Video (3)
  • Windows (2)
Stolz präsentiert von WordPress