Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): fix the wrong graph in "gas log" when merging branches #1101

Merged

Conversation

marshallmallows
Copy link
Collaborator

@marshallmallows marshallmallows commented Nov 15, 2021

When merging the left branch, the right branch also needs to move to the left
The wrong sample:

* 4c564ea (b3) 15
* a3f25ce 13
* ebb775e 8
| * 2da7d6e (b1) 14
| * aeac003 6
| | * 8c9e82e (main) 12
| | | * 1c22915 (b5) 11
| | |/
| |/|
| * | bec94e0 a
| | | * ef0e4c2 (b2) 10
| | | * dee8986 7
| | |/
| |/|
|/| |
* | | d7677e0 4
* | | e1d77c4 3
|/|
| | * f478341 (b4) 9
| |/
| * dc2a3cc 5
|/
* d0eeb20 2
* bce9056 1

Fixed:

* 4c564ea (* ebb775e 8
| * 2da7d6e (b1) 14
| * aeac003 6
| | * 8c9e82e (main) 12
| | | * 1c22915 (b5) 11
| | |/
| |/|
| * | bec94e0 a
| | | * ef0e4c2 (b2) 10
| | | * dee8986 7
| | |/
| |/|
|/| |
* | | d7677e0 4
* | | e1d77c4 3
|/ /
| | * f478341 (b4) 9
| |/
| * dc2a3cc 5
|/
* d0eeb20 2
* bce9056 1

@coveralls
Copy link

coveralls commented Nov 15, 2021

Pull Request Test Coverage Report for Build 1475232524

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.559%

Totals Coverage Status
Change from base Build 1470279275: 0.0%
Covered Lines: 7599
Relevant Lines: 8779

💛 - Coveralls

tensorbay/cli/log.py Outdated Show resolved Hide resolved
tensorbay/cli/log.py Outdated Show resolved Hide resolved
tensorbay/cli/log.py Show resolved Hide resolved
tensorbay/cli/log.py Outdated Show resolved Hide resolved
tensorbay/cli/log.py Outdated Show resolved Hide resolved
tensorbay/cli/log.py Show resolved Hide resolved
tensorbay/cli/log.py Outdated Show resolved Hide resolved
@marshallmallows marshallmallows force-pushed the T19755_gas_log_merge_err branch 2 times, most recently from cbfa4f9 to 8ed12d6 Compare November 16, 2021 04:04
@linjiX
Copy link
Contributor

linjiX commented Nov 16, 2021

the gas log graph in commit message should be put into a code block

@marshallmallows marshallmallows force-pushed the T19755_gas_log_merge_err branch 3 times, most recently from d54dd51 to ba8c9ea Compare November 18, 2021 06:15
@marshallmallows marshallmallows force-pushed the T19755_gas_log_merge_err branch from ba8c9ea to c128a5e Compare November 18, 2021 06:49
When merging the left branch, the right branch also needs to move to the left
The wrong sample:
```
* 4c564ea (b3) 15
* a3f25ce 13
* ebb775e 8
| * 2da7d6e (b1) 14
| * aeac003 6
| | * 8c9e82e (main) 12
| | | * 1c22915 (b5) 11
| | |/
| |/|
| * | bec94e0 a
| | | * ef0e4c2 (b2) 10
| | | * dee8986 7
| | |/
| |/|
|/| |
* | | d7677e0 4
* | | e1d77c4 3
|/|
| | * f478341 (b4) 9
| |/
| * dc2a3cc 5
|/
* d0eeb20 2
* bce9056 1
```
Fixed:
```
* 4c564ea (* ebb775e 8
| * 2da7d6e (b1) 14
| * aeac003 6
| | * 8c9e82e (main) 12
| | | * 1c22915 (b5) 11
| | |/
| |/|
| * | bec94e0 a
| | | * ef0e4c2 (b2) 10
| | | * dee8986 7
| | |/
| |/|
|/| |
* | | d7677e0 4
* | | e1d77c4 3
|/ /
| | * f478341 (b4) 9
| |/
| * dc2a3cc 5
|/
* d0eeb20 2
* bce9056 1
```

PR Closed: Graviti-AI#1101
@marshallmallows marshallmallows force-pushed the T19755_gas_log_merge_err branch from c128a5e to 55305d7 Compare November 18, 2021 06:52
@marshallmallows marshallmallows merged commit 2797e00 into Graviti-AI:main Nov 18, 2021
@marshallmallows marshallmallows deleted the T19755_gas_log_merge_err branch November 18, 2021 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants