I misused that function twice in the past few days, so lets clarify the API.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
mercurial/copies.py | ||
---|---|---|
441 | Is there any reason we will like to return this? |
mercurial/copies.py | ||
---|---|---|
441 | Absolutely. It allow us to (update and) return whichever of the two dicts we prefer depending on the situation. (it also make the code a bit clearer, since we don't have to remember which of the two dict argument get updated) |
Is there any reason we will like to return this?