##// END OF EJS Templates
manifest: add support for including directories outside narrowspec...
Martin von Zweigbergk -
r36228:5c9bdfb3 default
parent child Browse files
Show More
@@ -3491,8 +3491,8 b' def manifest(ui, repo, node=None, rev=No'
3491 if not node:
3491 if not node:
3492 node = rev
3492 node = rev
3493
3493
3494 char = {'l': '@', 'x': '*', '': ''}
3494 char = {'l': '@', 'x': '*', '': '', 't': 'd'}
3495 mode = {'l': '644', 'x': '755', '': '644'}
3495 mode = {'l': '644', 'x': '755', '': '644', 't': '755'}
3496 if node:
3496 if node:
3497 repo = scmutil.unhidehashlikerevs(repo, [node], 'nowarn')
3497 repo = scmutil.unhidehashlikerevs(repo, [node], 'nowarn')
3498 ctx = scmutil.revsingle(repo, node)
3498 ctx = scmutil.revsingle(repo, node)
@@ -77,12 +77,20 b' Can commit changes inside. Leaves outsid'
77
77
78 $ hg update -q 'desc("initial")'
78 $ hg update -q 'desc("initial")'
79 $ echo modified2 > inside/f1
79 $ echo modified2 > inside/f1
80 $ hg manifest --debug
81 4d6a634d5ba06331a60c29ee0db8412490a54fcd 644 inside/f1
82 7fb3bb6356d28d4dc352c5ba52d7350a81b6bd46 644 outside/f1 (flat !)
83 d0f2f706468ab0e8bec7af87446835fb1b13511b 755 d outside/ (tree !)
80 $ hg commit -m 'modify inside/f1'
84 $ hg commit -m 'modify inside/f1'
81 created new head
85 created new head
82 $ hg files -r .
86 $ hg files -r .
83 inside/f1
87 inside/f1
84 outside/f1 (flat !)
88 outside/f1 (flat !)
85 outside/ (tree !)
89 outside/ (tree !)
90 $ hg manifest --debug
91 3f4197b4a11b9016e77ebc47fe566944885fd11b 644 inside/f1
92 7fb3bb6356d28d4dc352c5ba52d7350a81b6bd46 644 outside/f1 (flat !)
93 d0f2f706468ab0e8bec7af87446835fb1b13511b 755 d outside/ (tree !)
86 Some filesystems (notably FAT/exFAT only store timestamps with 2
94 Some filesystems (notably FAT/exFAT only store timestamps with 2
87 seconds of precision, so by sleeping for 3 seconds, we can ensure that
95 seconds of precision, so by sleeping for 3 seconds, we can ensure that
88 the timestamps of files stored by dirstate will appear older than the
96 the timestamps of files stored by dirstate will appear older than the
General Comments 0
You need to be logged in to leave comments. Login now