Friday, May 30, 2008

SVN survival kit

> Hello, somehow when I update the repository, another username/password is being use.

Tortoise SVN | Settings | Saved Data | Authentication Data | Clear

That will clear the stored information, and you will be prompted for
it the next time it's needed.

  • Other useful commands:
    - svn list svn://whatever.com
    - svn status --show-updates --verbose | sort -k 2rn | less
    - svn log --verbose --limit 10
    - svn status -u (same as --show-updates, svn status usually doesn't check the repository, except when using -u, it just add a * when a file needs updating)
    - delete directory
    - - svn delete directory
    - - svn ci -m " " directory

  • tagging
    - svn copy -m " " svn://192.168.0.1/seng/trunk/ svn://192.168.0.1/seng/tags/2.4/
    - svn move -m " " svn://192.168.0.1/seng/tags/2.4/trunk svn://192.168.0.1/seng/tags/2.4/2.4.0.a1








  • Status values
    A: Resource is scheduled for Addition
    D: Resource is scheduled for Deletion
    M: Resource has local Modifications
    C: Resource has Conflicts (changes have not been completely merged between the repository and working copy version)
    X: Resource is eXternal to this working copy (may come from another repository). See «svn:externals»
    ?: Resource is not under version control
    !: Resource is missing or incomplete (removed by another tool than Subversion)
    ~: Something is messed up
  • Sunday, May 25, 2008

    /MP C++ compilation option in VS2008

    "Multi-processor" compilation.
    Not a default, need to be added manually to the command line options.

    Thursday, May 8, 2008

    Windows admin Survival kit

  • C:\> FOR %f IN (dir c:\tmp\*.*) DO toto.exe %f param2

  • tracert.exe

  • C:\Windows\System32\drivers\etc\hosts

  • To change program that start when Windows starts

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    RunOnce
    RunServices
    RunServicesOnce

    If what you are looking for is not there, you can check also: HKEY_CURRENT_USER
    .
  •