Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Jan 9, 2010, 3:01:53 AM (14 years ago)
- Author:
-
QuLogic
- Comment:
-
Fix author in revision log
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v2
|
v3
|
|
| 12 | 12 | Pluck a revision with the log and authors filled in for the next commit log. |
| 13 | 13 | |
| 14 | | @author: Sadrul Habib Chowdhury (updated for mtn 0.43 by John Bailey and for mtn 0.45 by Daniel Atallah) |
| | 14 | @author: Sadrul Habib Chowdhury (updated for mtn 0.43 by John Bailey and for mtn 0.45 by Daniel Atallah and Elliott Sales de Andrade) |
| 15 | 15 | --]] |
| 16 | 16 | |
| … |
… |
|
| 42 | 42 | |
| 43 | 43 | for rev in sel:gmatch("%S+") do |
| | 44 | local author,changelog |
| 44 | 45 | r, certs = mtn_automate("certs", rev) |
| 45 | 46 | |
| … |
… |
|
| 47 | 48 | function(key, sig, name, value, trust) |
| 48 | 49 | if name == "changelog" then |
| 49 | | log = log .. "*** Plucked rev " .. rev .. " (" .. key .. "):\n" .. value .. "\n" |
| | 50 | changelog = value |
| | 51 | elseif name == "author" then |
| | 52 | author = value |
| 50 | 53 | end |
| 51 | 54 | end |
| 52 | 55 | ) |
| | 56 | log = log .. "*** Plucked rev " .. rev .. " (" .. author .. "):\n" .. changelog .. "\n" |
| 53 | 57 | execute("mtn", "pluck", "-r", rev) |
| 54 | 58 | end |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!