Show More
@@ -542,9 +542,9 b' def make_filename(repo, pat, node,' | |||||
542 | try: |
|
542 | try: | |
543 | if node: |
|
543 | if node: | |
544 | expander.update(node_expander) |
|
544 | expander.update(node_expander) | |
545 | if node and revwidth is not None: |
|
545 | if node: | |
546 | expander['r'] = (lambda: |
|
546 | expander['r'] = (lambda: | |
547 | str(repo.changelog.rev(node)).zfill(revwidth)) |
|
547 | str(repo.changelog.rev(node)).zfill(revwidth or 0)) | |
548 | if total is not None: |
|
548 | if total is not None: | |
549 | expander['N'] = lambda: str(total) |
|
549 | expander['N'] = lambda: str(total) | |
550 | if seqno is not None: |
|
550 | if seqno is not None: |
@@ -63,3 +63,7 b' hg archive -t zip -r 2 test.zip' | |||||
63 | unzip -t test.zip |
|
63 | unzip -t test.zip | |
64 |
|
64 | |||
65 | hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/" |
|
65 | hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/" | |
|
66 | hg archive -r 0 -t tar rev-%r.tar | |||
|
67 | if [ -f rev-0.tar ]; then | |||
|
68 | echo 'rev-0.tar created' | |||
|
69 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now