Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 461:9ae0034f2772
[PATCH] /dev/null for other OS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] /dev/null for other OS
From: K Thananchayan <thananck@yahoo.com>
Null device name is platform dependent. Introduce util.nulldev
- - platform dependent constant and use it instead of '/dev/null'
manifest hash: 95a1bfdb712c53ef97aaff73f7f4c87e9299cf59
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvQCGywK+sNU5EO8RAiRBAKCcXasCCFT2+6wgklkgqIt4l3UwugCeKWii
h/8iRYEw8Rp8B67abiFiwyY=
=L3Mk
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Fri, 24 Jun 2005 22:58:14 -0800 |
parents | 6409d9a0df43 |
children | 50da4bb9cab6 |
comparison
equal
deleted
inserted
replaced
460:6409d9a0df43 | 461:9ae0034f2772 |
---|---|
411 | 411 |
412 patches = (patch1,) + patches | 412 patches = (patch1,) + patches |
413 | 413 |
414 d = opts["base"] | 414 d = opts["base"] |
415 strip = opts["strip"] | 415 strip = opts["strip"] |
416 quiet = ui.quiet and "> /dev/null" or "" | |
417 | 416 |
418 for patch in patches: | 417 for patch in patches: |
419 ui.status("applying %s\n" % patch) | 418 ui.status("applying %s\n" % patch) |
420 pf = os.path.join(d, patch) | 419 pf = os.path.join(d, patch) |
421 | 420 |