This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(vons-mac) ~/develop/gridshib-ca.git-cvs>git-cvs pull | |
reading .git-cvs... | |
logging output to /Users/vwelch/develop/gridshib-ca.git-cvs/.git/git-cvs/logs/2009-11-16-2100-35.log | |
Importing module 'gridshib/gridshib-ca' from CVS [email protected]:/home/globdev/CVS/globus-packages | |
(vons-mac) ~/develop/gridshib-ca.git-cvs>git reset --hard master | |
HEAD is now at 5492cf9 cvsimport | |
(vons-mac) ~/develop/gridshib-ca.git-cvs>git-cvs push | |
reading .git-cvs... | |
logging output to /Users/vwelch/develop/gridshib-ca.git-cvs/.git/git-cvs/logs/2009-11-16-2101-17.log | |
Using internal CVS checkout in /Users/vwelch/develop/gridshib-ca.git-cvs/.git/git-cvs/cvscheckout/HEAD/gridshib/gridshib-ca |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(vons-mac) ~/develop/gridshib-ca.git-cvs>git show-ref remotes/cvs/HEAD | |
15d057eeea896cd1f4d7609854c693be74a7a38a refs/remotes/cvs/HEAD | |
(vons-mac) ~/develop/gridshib-ca.git-cvs>git show-ref master | |
3ebd7ac47c902103d85a49b7d6b67c3c40d4ac6f refs/heads/master | |
(vons-mac) ~/develop/gridshib-ca.git-cvs>git --no-pager --git-dir '/Users/vwelch/develop/gridshib-ca.git-cvs/.git' rev-list --reverse 'remotes/cvs/HEAD'...'master' | |
0a689c733d45bd1fe8605635e135e40c65a54a95 | |
cc6b254666e01e3ca54fcd0a28f517cfb6d6d5ad | |
60a8160e81a46b2ebc232655d4f5fe5afd79e796 | |
262b467cc5555ea9aab67d9381138180aaf1bf34 | |
1bb6ca9b7e7445da63e91a29c230da3acad99b51 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* <- master | |
|\ | |
| * <- remotes/cvs/HEAD | |
* | <- some commits on one branch | |
| * <- some commits on the other | |
|/ | |
* <- merge point, which is what 'git rev-list' is always going back to. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use FindBin qw($Bin); | |
use lib "$Bin/lib"; | |
use MyTest::Dirs; | |
use MyTest::Replay; | |
use Test::More tests => 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import ConfigParser | |
parser = argparse.ArgumentParser() | |
parser.add_argument("-c", "--conf_file", | |
help="Specify config file", metavar="FILE") | |
args, remaining_argv = parser.parse_known_args() | |
defaults = { | |
"option1" : "some default", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat p.conf | |
[Defaults] | |
option1 = Hello World! | |
option2 = Have a nice day. | |
$ p.py --option1 "Hi there" | |
Namespace(conf_file=None, option1='Hi there', option2='some other default') | |
$ p.py --conf_file p.conf | |
Namespace(conf_file=None, option1='Hello World!', option2='Have a nice day.') | |
$ p.py --conf_file p.conf --option1="Hi there world." | |
Namespace(conf_file=None, option1='Hi there world.', option2='Have a nice day.') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ p.py -h | |
usage: p.py [-h] [-c FILE] | |
optional arguments: | |
-h, --help show this help message and exit | |
-c FILE, --conf_file FILE | |
Specify config file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import ConfigParser | |
conf_parser = argparse.ArgumentParser( | |
# Turn off help, so we print all options in response to -h | |
add_help=False | |
) | |
conf_parser.add_argument("-c", "--conf_file", | |
help="Specify config file", metavar="FILE") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ p2.py -h | |
usage: p2.py [-h] [-c FILE] [--option1 OPTION1] [--option2 OPTION2] | |
optional arguments: | |
-h, --help show this help message and exit | |
-c FILE, --conf_file FILE | |
Specify config file | |
--option1 OPTION1 some option | |
--option2 OPTION2 some other option |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN CERTIFICATE----- | |
MIIE5TCCBE6gAwIBAgIKZ+eONAADAAAiYzANBgkqhkiG9w0BAQUFADBGMQswCQYD | |
VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu | |
dGVybmV0IEF1dGhvcml0eTAeFw0xMTAyMTYwMDI0NTNaFw0xMjAyMTYwMDM0NTNa | |
MGYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N | |
b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRUwEwYDVQQDFAwqLmdv | |
b2dsZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOpx2otu08SclYvZ | |
EWYpUVI+MYANr6cNadHdpUiUsAWayK+Y6DH6B4EvDrGNgQUEA235HVPexdggkaE3 | |
nbdIjys/cwpPQXsYpuJsz/Cn6B4lkC3FsEHRewHvLvGcWYuORPt5AO4x/aR4AYeo | |
4j/9vje52R4NMFmVjK5x1bMh3FAjAgMBAAGjggK4MIICtDAdBgNVHQ4EFgQUFV05 |
OlderNewer