Skip to content

Instantly share code, notes, and snippets.

@mattrose
Created April 22, 2014 15:25
Show Gist options
  • Save mattrose/11183519 to your computer and use it in GitHub Desktop.
Save mattrose/11183519 to your computer and use it in GitHub Desktop.
if [ x"$CVSDATE" != x ] ; then
DATEOPT="-D "$CVSDATE""
else
DATEOPT=""
fi
cvs -d $CVSROOT -Q co $BRANCHOPT $DATEOPT $REPOSITORY
@mattrose
Copy link
Author

+++ printf '%s "%s %s %s"' -D 2014-04-21 23:02:03 UTC
++ DATEOPT='-D "2014-04-21 23:02:03 UTC"'
++ cvs -Q co -D '"2014-04-21' 23:02:03 'UTC"' module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment