Public » Mercurial » hg-lisppaste
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

interactive ask for missing information (closes #2)

Changeset 8aefe73aadc3

Parent eb70bed28959

by Profile picture of Benjamin PollackBenjamin Pollack

Changes to one file · Browse files at 8aefe73aadc3 Showing diff from parent eb70bed28959 Diff from another changeset...

Change 1 of 1 Show Entire File lisppaste.py Stacked
 
36
37
38
39
40
 
 
 
41
42
43
 
36
37
38
 
 
39
40
41
42
43
44
@@ -36,8 +36,9 @@
 from mercurial.i18n import _    def paste(ui, repo, nick, channel, title, **opts): - nick = nick or ui.config('lisppaste', 'nick') - channel = channel or ui.config('lisppaste', 'channel') + nick = nick or ui.config('lisppaste', 'nick') or ui.prompt('nick:', default='') + channel = channel or ui.config('lisppaste', 'channel') or ui.prompt('channel:', default='') + title = title or ui.prompt('title:', default='')   if not nick or not channel or not title:   raise util.Abort('must specify nick, channel, and title')   rev = opts.get('rev')