mirror of
https://github.com/facebook/sapling.git
synced 2025-01-01 09:37:56 +03:00
solaris: sed doesn't recognize a line without a newline
This commit is contained in:
parent
dd1467f6d7
commit
304927ff96
@ -242,7 +242,7 @@ Test issue 3764 (interpreting 'today' and 'yesterday')
|
||||
>>> yesterday = (datetime.date.today() - datetime.timedelta(days=1)).strftime("%b %d")
|
||||
>>> dates = open('dates', 'w')
|
||||
>>> dates.write(today + '\n')
|
||||
>>> dates.write(yesterday)
|
||||
>>> dates.write(yesterday + '\n')
|
||||
>>> dates.close()
|
||||
$ hg ci -d "`sed -n '1p' dates`" -m "today is a good day to code"
|
||||
$ hg log -d today --template '{desc}\n'
|
||||
|
Loading…
Reference in New Issue
Block a user