Edgewall Software
Modify

Opened 4 years ago

Closed 4 years ago

#13290 closed defect (fixed)

Resync command doesn't clear line before showing final result

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.4.2
Component: version control Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Fixed TracAdmin resync and sync command not clearing line before printing number of revisions cached.

API Changes:
Internal Changes:

Description

$ trac-admin "/Users/rjollos/Documents/Workspace/trac-dev/tracenvs/proj-1.3" repository resync "git-repos"
15:20:52 Trac[loader] ERROR: Skipping "S3AttachmentStorage": ImportError: No module named boto3
Resyncing repository history for git-repos...
4 revisions cached.b69f65fb7e47374cc1f3245]
Done.

Ideally we'd see:

Resyncing repository history for git-repos...
[b69f65fb7e47374cc1f3245]
4 revisions cached.
Done.

Or just:

Resyncing repository history for git-repos...
4 revisions cached.
Done.

Attachments (0)

Change History (4)

comment:1 by Ryan J Ollos, 4 years ago

We should clear line, like in [16244#file6]: sys.stdout.write('\033[K').

comment:2 by Ryan J Ollos, 4 years ago

Milestone: next-stable-1.4.x1.4.2

comment:3 by Ryan J Ollos, 4 years ago

Owner: set to Ryan J Ollos
Release Notes: modified (diff)
Status: newassigned

comment:4 by Ryan J Ollos, 4 years ago

Resolution: fixed
Status: assignedclosed

Committed to 1.4-stable in r17338, merged to trunk in r17339.

Resyncing repository history for teo...
17640 revisions cached.
Done.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.